reference:evaluator:val

Val(
     string:varname
)
var

Arguments

varname

Name of the argument.

Return value

Value of the named argument.

Description

Returns the value of a variable; varname is provided as a quoted string. This is useful for variables which contain characters that would confuse the Evaluator's parser (e.g. if the name begins with a number).

Example:

flag = Val("35mmfocallength"); // get value of the 35mmfocallength field