Description: Returns the requested parameters as a constant, variable or code pointer.
Warning: For use by advanced programmers only. Effective use of this function requires a thorough understanding of VTS programming.
Returns: Constant, variable or code value.
Usage: Script
Format: GetParameter(Code, Index)
Parameters: Code { Code value } { required } { no default }
Any expression for the code value or code pointer of the function.
Index { Integer } { required } { no default }
Parameter number to obtain. Starts with 0 for the first parameter.
Comments: If the parameter being retrieved is a constant number, then GetParameter just returns that number. The same goes for a constant string parameter.
If the parameter is just a variable, then GetParameter returns the variable (a value of type #VTypeVariable).
If the parameter is itself a function, then GetParameter returns a code value for it.
See Also: