num_args()

Returns the number of program arguments.

Syntax

num_args()
  RETURNS INTEGER

Usage

Returns the number of arguments passed to the program.

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