bas7advr.hlp (
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
COMMAND$ Function Details
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
The COMMAND$ function returns the complete command line entered after your
BASIC program name, including optional parameters.
COMMAND$
Usage Notes
■ COMMAND$ converts all letters to uppercase (capital letters) and
removes all leading blanks from the command line.
■ The COMMAND$ function can be used in stand-alone executable files
or, if you are executing from the QBX environment, by using the
/CMD command-line option, or by selecting Modify COMMAND$ on the
Run menu.