int data_open2(name,data,p1,p2,p3)
char *name; /* name of SURVO 84C DATA */
SURVO_DATA *data; /* pointer to data structure */
int p1; /* space for variables indicator */
int p2; /* name length indicator */
int p3; /* text indicator */
The data_open2 function opens the SURVO 84C data specified by name
.
data
is a pointer to the SURVO_DATA structure (See data_open).
The parameters p1
,p2
,p3
indicate various extensions when data
is a
SURVO 84C data file.
data_open2 returns 1 if the file was succesfully opened and -1 otherwise. In the latter case the error message SURVO 84C data `name' not found! is displayed.
data_open, data_close, data_load, data_alpha_load
int i;
SURVO_DATA dat;
i=data_open2("TEST",&dat,1,1,1);
if (i<0) return;