To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The getArgument() method returns the value of the specified argument. The method needs an integer specifying the argument position:
DEFINE i, ii INT,
arg DYNAMIC ARRAY OF STRING
LET i = base.Application.getArgumentCount()
FOR ii = 1 TO i
LET arg[ii] = base.Application.getArgument(ii)
END FOR
The first argument of those passed to the application will have the position 1. The GetArgument() method returns the application name if the integer passed to it is zero.
Functionality of base.Application.getArgument() and base.Application.getArgumentCount() methods is identical to that of the arg_val() and num_args() functions.