SetVar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
==SetVar#('n', number)== | ==SetVar#('n', number)== | ||
{{Description|description=This command sets the named numeric variable 'n' to the value returned by a number command, or a calculation parameter. The | {{Description|description=This command sets the named numeric variable 'n' to the value returned by a number command, or a calculation parameter. The variable 'n' will be defined in the global scope. | ||
NOTE: This command is a replacement for the older [[Save#]] command, with the advantage of allowing named variables (instead of registry indexes).}} | NOTE: This command is a replacement for the older [[Save#]] command, with the advantage of allowing named variables (instead of registry indexes).}} | ||
{{Stats|id=359|type=Number|class=All Machines|scope= Global|version=6.01.08+}} | {{Stats|id=359|type=Number|class=All Machines|scope= Global|version=6.01.08+}} | ||
[[Category:Output Control]] | [[Category:Output Control]] | ||
Latest revision as of 18:44, 10 October 2024
SetVar#('n', number)
Description
This command sets the named numeric variable 'n' to the value returned by a number command, or a calculation parameter. The variable 'n' will be defined in the global scope.
NOTE: This command is a replacement for the older Save# command, with the advantage of allowing named variables (instead of registry indexes).
Stats
ID 359 Type Number Class All Machines Scope Global Min Version 6.01.08+