The Application class / base.Application methods |
Returns the command line argument by position.
base.Application.getArgument( index INTEGER ) RETURNING result STRING
The index is the program argument position. The first program argument is identified by the position 1. Argument number zero is the program name.
Returns NULL if there is no argument provided at the position.
MAIN DEFINE i INTEGER FOR i=1 TO base.Application.getArgumentCount() DISPLAY base.Application.getArgument(i) END FOR END MAIN