DtvLong dal_mas_ret_nxt_fld (idm, flg)

Returns the ident number of the next field in the field stack of the mask (no nested calls).

Input Parameters Significance
DtvLong idm mask Id
char flg position flag:
0 = first field
1 = next field

Output Parameters Significance
no -

Return Code Significance
value Id of the field
0 no further field exists

The function allows navigating in the field stack of the mask. For instance you can localize the system-internal ident number fields idn1 and idn2 at the beginning of the field stack by calling the function (flg = 0 and flg = 1) twice.

The function cannot be nested. For DataView version 3.0-07 and higher you should only use the parallel function dal_mas_get_nxt_fld instead, which can be nested.