m (formatting) |
|||
Line 4: | Line 4: | ||
;Description: Action used to load value from target and stores it to variable. | ;Description: Action used to load value from target and stores it to variable. | ||
+ | :Copying data from source to target is done by reference, not by value. | ||
;Action returns: void | ;Action returns: void |
Revision as of 14:30, 8 August 2019
gn:act_setVariable
- Description
- Action used to load value from target and stores it to variable.
- Copying data from source to target is done by reference, not by value.
- Action returns
- void
Action signatures
Load value to variable
[gn:act_setVariable]|[target,source]
Parameter Description target
target where the value will be stored source
source from where the value will be used
Example
@variable/admin
- variabletrue
- hardcoded value
- ⤷
[gn:act_setVariable]|[@variable/admin,true]
- ⤷