HTBasic Help
×
Menu
Index

COMMAND$

Returns a copy of the command line.
 
 COMMAND$
 
Usage:
PRINT "Switches: "&COMMAND$
C$[4;10]=LWC$(COMMAND$)
 
Example:      COMMAND$.BAS
 
Description:
The COMMAND$ function returns the command line used to start HTBasic, including any command line options specified.
HTBasic returns the entire command line. This is useful if symbolic links are made to the HTBasic executable and the AUTOST program wishes to react differently depending on the name used to start HTBasic.
 
See Also: