Seppo Mustonen : Programming Survo in C

Functions in library SURVO.LIB


int data_alpha_save(data,j,i,s)
SURVO_DATA *data; /* pointer to 84 data structure */
long j;           /* # of observation (record) */
int i;            /* # of variable (field) */
char s;           /* string (value) to be saved */

The data_alpha_save function saves the string s as the jth observation of the string variable # i (i=0,1,...,data->m-1) for data opened by data_open or data_open2.

Return Value

data_alpha_save returns -1 if the field for saving is protected or the data representation does not permit saving.

See Also


Front page of Survo C libraries