base.Application.getArgumentCount()

 

The getArgumentCount() method can be used to return the total number of arguments passed to the application. The returned value is an integer. The method does not need any arguments. It's result is the same as the result of the num_args() build-in function.

 

DEFINE i INT

LET i = base.Application.getArgumentCount()

 

If no arguments were passed to the application, the method will return a NULL value.

 

Functionality of base.Application.getArgumentCount() and base.Application.getArgument() methods is identical to that of the arg_val() and num_args() functions.