User Tools

Site Tools


jvs:cigal:manual:chapter4:cmdlin

CIGAL Reference Manual, Chapter 4 (Variables): cmdlin

Cmdlin -- String variable containing DOS command line arguments

usage: cmdlin = string

CMDLIN is an internally defined character string variable. When CIGAL starts up, any argument included on the DOS command line are stored in CMDLIN. CIGAL does nothing else with this variable. It is just available in case you want access to any DOS command line arguments that may be present. For example, if you start CIGAL with the DOS command:

                cigal quickie 1 2 3

then the variable CMDARG will be set to 'quickie 1 2 3'. Your startup macro could test for this if you wish and then, for example, call a macro named QUICKIE as:

                if(?cmdlin > 0) exec cmdlin     ; execute if not empty string

The CIGAL program portion of the startup command is stored in the Cmdprog variable.

See Also:
Cmdprog
CIGAL Home, CIGAL Manual, Variables List, Manual Help

jvs/cigal/manual/chapter4/cmdlin.txt · Last modified: 2022/11/18 16:08 (external edit)