Platform | x64, Win32 |
Purpose |
To read a token from the command line. |
Syntax |
CHARACTER (LEN=*) FUNCTION CMNAM() |
Description |
This function is useful for programs which are to be used as commands with arguments on the command line. Arguments (or "tokens") are separated by spaces (not slashes). |
Return value |
CMNAM reads a token and returns it as the character result. Spaces are returned when tokens are exhausted. |
Notes |
This is a Silverfrost library function. |
Example |
!This program operates like the MS-DOS COPY
command.
|