numparam

Syntax: %numparam()

returns the number of parameters passed to an alias.

Example:

#ALIAS testParam {#SAY %numParam();#NOOP}
testparam 123 "456 789" {abc def}

displays:

3

NOTE: The #NOOP is used to take care of the 'unused' parameters. Parameters are only flagged 'used' if accessed with the temporary variables %1, %2, etc.



Contents numkeys numrec