parameter_string(n)

From ENIGMA

Jump to: navigation, search

Description

Gets the command line parameter by index and returns it.

Parameters

Parameter Data Type Description
n integer index of the command line parameter

Return Values

string: Returns the command line parameter passed to the program.

Example Call

// demonstrates iterating the command line parameters and showing them to the user
for (i = 0; i < parameter_count(); i++) {
  show_message(parameter_string(i));
}
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox