Seppo Mustonen : Programming Survo in C

Functions in library SURVO.LIB

activated
Summary

int activated(data,character)
SURVO_DATA *data; /* pointer to data structure */
char character;   /* activation character */
Description

The activated function finds the first variable which has been activated by character in data opened by data_open or data_open2.

Return Value

activated returns # of variable or -1 if no variable has been activated by character.

See Also

mask, varfind

Example

int i;
int weight_variable;
SURVO_DATA dat;

i=data_open("TEST",&dat);
if (i<0) return;
weight_variable=activated(&dat,'W');


Front page of Survo C libraries