![]() ![]() |
|
SENTENCEThe SENTENCE function allows a program to find out the command used to invoke it and the arguments it was given.
COMMAND SYNTAXSENTENCE({expression})
SYNTAX ELEMENTSIf expression is specified it should evaluate to a positive integer value. A negative value will return a null string. A value of null will return the entire command line. An integer value of expression will return a specific element of the command line with the command itself being returned by SENTENCE(0), the first parameter being returned by SENTENCE(1) and so on.
NOTESThe command line arguments are assumed to be space separated and when the entire command line is returned they are returned as such. The SYSTEM(1000) function will return the command line attribute mark delimited.
EXAMPLES
|