|
|
| Line 18: |
Line 18: |
| * var - Will create and set a variable, only if the variable does not yet exist. | | * var - Will create and set a variable, only if the variable does not yet exist. |
| * set - Will create or set a variable, any time. | | * set - Will create or set a 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.
| |
|
| |
| For example, this default command 'varedit' would allow writing a script that was intended to only set certain variables if another service or module had already created them.
| |
|
| |
|
| == Examples == | | == Examples == |