NAME

command$ - return command line arguments

SYNOPSIS

v$ = command$

DESCRIPTION

Command$ returns a string representation of the command line arguments used when the program was invoked (executed).  This string excludes the command name itself.  The arguments are separated by blanks. 

EXAMPLE

The source file, "command.b",
	print "The command line is: " command$
when compiled and executed as follows:
	$ basic -o command command.b
	$ command parsley sage rosemary thyme
will produce the output:
	The command line is: parsley sage rosemary thyme

USAGE NOTES

Although the UNIX shell allows multiple white space characters to appear between arguments on the command line, the number and type of white space characters is not represented to the executing program.  So regardless of how the white space actually appears on the command line, this function separates each pair of adjacent arguments with exactly one blank. 

from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber