Initialises a context key with a value or with the value of another variable.
SET VARIABLE <varname> FROM <litteral>
SET VARIABLE <varname> FROM :<varname>
SET VARIABLE <varname> FROM Litterals with :{<varname>} inside
SET VARIABLE defautname FROM Default
SET VARIABLE savedcourseid FROM :courseid
SET VARIABLE extendeddefaultname FROM :{courseid}_with_extensions
The created variable is installed in the global context of the execution stack for the lifetime of the script, until it is overridden by another assignment.
When a variable is created from another variable, the latter must be defined in the global context of the script, otherwise an empty value will initialise the new variable.
A combined literal form can call existing context variables. Sub-variable calls are replaced by those found in the context at execution time.