Converts a selection group name and occurrence into a field number and occurrenceint sm_i_gtof(char *selection_group, int grp_occurrence, int *occurrence);
- The name of the group whose field number is sought.
- The occurrence in
- On return, contains the occurrence number of the field.
sm_i_gtofconverts a selection group name and occurrence into a field number and occurrence. This function lets you use other Panther library functions to manipulate selection group fields by converting group references into field references. For example, to access text from a specific field within a selection group, use
sm_i_gtofto get the field and occurrence number, then call sm_o_getfield to retrieve the text.