49
edits
| Line 15: | Line 15: | ||
This command behaves like a combination of 'var' and 'set', but will never create a variable: | This command behaves like a combination of 'var' and 'set', but will never create a variable: | ||
* varedit - | * varedit - Never creates variables, sets anytime variable already exists. | ||
* var - | * var - Creates and sets variables, only if the variable not yet exist. | ||
* set - | * set - Creates or sets variable, any time. | ||
While 'varedit' is intended make console variable checking and editing easy, in combination with the other variable commands, can allow scripts and other types of macros to avoid lots of situations where complex logic would otherwise be required. | While 'varedit' is intended make console variable checking and editing easy, in combination with the other variable commands, can allow scripts and other types of macros to avoid lots of situations where complex logic would otherwise be required. | ||