command_str

This string contains the command line, usually beginning with the executable name, followed by the script name and command line options. It can be used to control the script behavior by user-defined command line options.

Type

STRING*, read-only

Example:

var test = 0;
if (str_stri(command_str,"-test"))	// does -test appear in the command line?
{
test = 1; }

See also:

level_name, work_dir, command line