int scales(data)
SURVO_DATA *data; /* pointer to data structure */
The scales function removes all variables with the scale type '-' (no
scale) from the list data->v of active variables.
data
must be opened by data_open or data_open2.
scales is usually called after mask in statistical SURVO 84C modules to remove fields without scale from the analysis irrespective of the user's selection. scales thus updates data->m_act and selection vector data->v.
There is no return value.
int i;
SURVO_DATA dat;
i=data_open("TEST",&dat);
if (i<0) return;
mask(&dat); /* select variables according to MASK */
scales(&dat); /* remove variables without scale */