getArgumentCount()is used to return the total number of arguments passed to the application. The returned value is an integer. Its result is the same as the result of the num_args() built-in function. The method does not require any arguments.
Syntax:
base.Application.getArgumentCount()
Usage example:
DEFINE i INT
LET i = base.Application.getArgumentCount()
If no arguments were passed to the application, the method will return a NULL value.