Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

set(variable, value) Assigns a value to a variable.


Function: set() / =

Assigns a value to a variable.

...

ArgumentTypeDescription
variableVariableName of the variable
valueAnyValue to be assigned to the variable

Examples

set($colour, "brown")

Sets the variable $colour the value "brown".


$colour = "brown"

Sets the variable $colour the value "brown".

...