SetVar: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
DanielM (talk | contribs)
m SetVar# must have a hash
Jeffm (talk | contribs)
No edit summary
Line 1: Line 1:
'''SetVar#'''
==SetVar#('n')==
{{Description|description=This command sets the named ComPost variable in it's parameter to the result of the next set of number commands and/or numeric calculations. This command is similar to [[Save#]].}}
{{Description|description=This command sets the named numeric variable 'n' to the value of the next number command or calculation. This variable will be defined in the global scope. This command is a replacement for [Save#]] that allows named variables.}}
{{Notes|notes=This command is a little easier to use then [[Save#]].}}
{{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:MTM]]
[[Category:Output Control]]

Revision as of 22:27, 13 December 2012

SetVar#('n')

Description

This command sets the named numeric variable 'n' to the value of the next number command or calculation. This variable will be defined in the global scope. This command is a replacement for [Save#]] that allows named variables.


Stats

ID 359
Type Number
Class All Machines
Scope Global
Min Version 6.01.08+