Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>dosparam()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DOSPARAM()
 Retrieves the DOS command line as a string
------------------------------------------------------------------------------
 Syntax

     DOSPARAM() --> cDOSCommandLine

 Returns

     DOSPARAM() returns the parameters from the DOS command line.

 Description

     DOSPARAM() returns all the parameters passed from the DOS command when
     you run the application.  Use DOSPARAM() when you do not want the
     parameters to be separated.  With this function, it is no longer
     necessary to check each individual parameter in a loop.

 Note

     .  With the TOKEN() function, it is easy to break down the
        returned character string.  It can also use your own rules.

 Example

     Given the DOS command line C>MyApp A: C: /a ,
     the following is true:

     DOSPARAM()                // "A: C: /a"
     TOKEN(DOSPARAM())         // "A"

     This way, it is easy to break down parameter lines according to your own
     rules.


See Also: TOKEN()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson