Excerpt | ||
---|---|---|
| ||
set(variable, value) Assigns a value to a variable. |
Function: set() / =
Assigns a value to a variable.
...
Argument | Type | Description |
---|---|---|
variable | Variable | Name of the variable |
value | Any | Value 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".