base.Application.getArgumentCount()

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.

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

 

Contact Us

Privacy Policy

Copyright © 2025 Querix, (UK) Ltd.