Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>dosparam()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DOSPARAM()

Syntax:     DOSPARAM()

Returns:    A character string.
            Returns  the argument from the DOS command line as a
            string.

Usage:      DOSPARAM() will return the section of the DOS command
            line which contains all the arguments that where passed when
            the application was run.  This is useful when a single string
            with embedded blanks is to be passed to the application.

Notes:      The string obtained can be easily broken down to single
            words, using your own rules via the TOKEN() function.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * From the DOS command line "program A: C:  /a"

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



See Also: TOKEN()

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