>
Set the variable Name to the value To.
Name can be any desired string, however it's advisable to make it a sequence that does not commonly occur in text otherwise it will match at unexpected times.
Names all in lower-case are local variables which are only visible in the current task.
If Recurse Variables is checked, all variables mentioned in the To parameter will be repeatedly replaced until there are no variable names left, otherwise only one round of variable replacement will take place.
If Append is checked, To is added to the existing value of the variable.
If Do Maths is checked then at the time of assignment the value of To will be evaluated as a mathematical expression.
e.g.
Name: %FROG
To: %VOLC + 1
Assuming %VOLC is 8, if Do Maths is checked, %FROG will get the value '9', otherwise it will get the value '8 + 1'.
If To cannot be numerically evaluated (e.g. it is 'cat + 3') then the current task will terminate.
See Also: Variables section in the Userguide.
WikiD Instuctables is a not-for-profit venture by CommWi Projects. CommWi Projects or any person affiliated with, are not in any official way, affiliated, endorsed, sponsored or licensed by any of the software, hardware, companies or persons documented on this site. Please address any Copyright or IP concerns to myself so they may be dealt with appropriately. Content hosted on this site, unless otherwise stated, is provided under the license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).