gtm_lock, gtm_inclock, gtm_declock, gtm_zalloc, and gtm_zdealloc can operate on one or more M names. When the list contains more than one name, a delimiting argument with a value of zero (0) must precede the elements of every name after the first.
Example:
timeout = 5; DESC_LONG (k0[0],timeout); mode = (short)GTMI_GLOBAL; DESC_MODE (k0[1],mode); DESC_CHAR (k0[2],"A"); delim = 0;/* Delimiter for arguments*/ DESC_DELIM (k0[3],delim); mode = (short)GTMI_GLOBAL; DESC_MODE (k0[4],mode); DESC_CHAR (k0[5],"B"); DESC_CHAR (k0[6],"1"); DESC_CHAR (k0[7],"1"); DESC_ZERO (k0[8]); status = gtm_lock(k0);
This example corresponds to the M statement:
L (^A,B(1,1)):5