qb45advr.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
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
COMMAND$ Function Details
 
Syntax
  COMMAND$
 
The COMMAND$ function returns the complete command line entered
after your BASIC program name, including optional parameters. COMMAND$
removes all leading blanks from the command line and converts all
letters to uppercase (capital letters). The  COMMAND$ function
can be used in stand-alone executable files or, if you are executing
from the QuickBASIC environment, by using the /CMD command line option
or by selecting Modify COMMAND$ on the Run menu.