PARAM_NUMBER

PARAM_NUMBER

RETURNS THE NUMBER OF PARAMETERS PASSED TO THE APPLICATION

  • Type: System Variable
  • Parameter: 0
  • Group: Reference

ACTION

The system variable PARAM_NUMBER returns the number of parameters passed to the application when it is called.

SYNTAX: PARAM_NUMBER in an expression

USE

  • The system variable PARAM_NUMBER is used to know the number of parameters passed when the application is called.

ERROR

  • None.

EXAMPLE

print "number of parameters = "+str$(param_number)

print "first parameter = "+param_value$(1)

SEE ALSO

PARAM_VALUE$()