14.52 Set variable

This action event can be used to set the specified variable to the specified value. The variable name must follow the specification of Hollywood variable names, i.e. it must consist only of letters of the English alphabet (a-z, A-Z), numbers (0-9) and a few special characters ('$', '!' and '_'). Furthermore, variable names must not start with a number or with a '$' or '!'. Variable names in Hollywood are case insensitive, which means that "MYVAR" and "myvar" denote the same variable.

Value can be a numeric value, another variable, or a string value. If it is a string value, it must be enclosed by quotes, e.g. "Hello World". You can also pass an expression like "x+1" as the value or even a complete function call for maximum flexibility.


Show TOC