MAINSAIL Language Manual, Section 40.2

previous   next   top   contents   index   framed top   this page unframed


40.2. $lastCommandLineArg

Figure 40–3. $lastCommandLineArg
BOOLEAN
PROCEDURE   $lastCommandLineArg
                        (
MODIFIES STRING commandLine;
                         
PRODUCES STRING lastArg;
                         
OPTIONAL BITS ctrlBits);

$lastCommandLineArg functions like $nextCommandLineArg (see Section 42.12), except that it removes the (possibly quoted) argument lastArg from the end of commandLine instead of the beginning.

The only valid bit for ctrlBits is errorOK, which suppresses any error message that might otherwise be issued during parsing.


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 40.2