NUM_ARGS()

Returns the number of program arguments.

Syntax

NUM_ARGS()
  RETURNING result INTEGER

Usage

Returns the number of arguments passed to the program.

The function returns 0 if no arguments are passed to the program.