386 10 Programming: Q Parameters
10.11 String Parameters
Finding the length of a string parameter
The STRLEN function returns the length of the text saved in a selectable
string parameter.
8 Select Q parameter functions.
8 Select the FORMULA function.
8 Enter the number of the Q parameter in which the
TNC is to save the ascertained string length. Confirm
with the ENT key.
8 Shift the soft-key row.
8 Select the function for finding the text length of a
string parameter.
8 Enter the number of the QS parameter whose length
the TNC is to ascertain, and confirm with the ENT key.
8 Close the parenthetical expression with the ENT key
and confirm your entry with the END key.
Example: Find the length of QS15
37 Q52 = STRLEN ( SRC_QS15 )
Commentaires sur ces manuels