DecLocalVar
Description
This command will decrement a named local variable by 1.0. It takes a parameter that specifies the name of the variable to increment. The name can be any string, including letters, numbers, spaces, or special characters. This variable will be defined in the local scope. Variables set in the local scope are only available in the prog sub that they are set in and any data in them is removed when the prog sub ends.
Usage: DecLocalVar('My Var 1')
- DecLocalVar('22')
Notes
This command makes counters a little easier.
Stats
ID 896 Type Command Class All Machines Scope Global Min Version 11.0