Silverfrost Logo About Us | Contact Us
 

Command line parsing routines

The routines in this section allow the programmer to access the program name and command line arguments with which the program was invoked. If the program was run with /LGO, the command line arguments which are returned are those which follow the /PARAMS option (if one appears on the command line).

 

CMNAM

Reads a token from the command line.

CMNAM@

Reads a token from the command line.

CMNAMR

Resets the command line.

CMNARGS@

Gets the number of command line arguments.

CMNUM@

Gets the next command line argument as an integer.

CMPROGNM@

Gets the program name.

COMMAND_ARGUMENT_COUNT

Gets the number of arguments on the command line.

COMMAND_LINE

Reads the whole command line.

GET_COMMAND

Reads the whole command line.

GET_COMMAND_ARGUMENT

Gets the command line argument at a given position.

GET_PROGRAM_NAME@

Returns the name of the current program.

 

 

Copyright © 1999-2017 Silverfrost Limited