Skip to main content

(58) _ADD_WK

Effect

Increments a work variable by a given value.

Syntax

_ADD_WK(work, value)
ArgumentDescriptionTypesRequired
workThe work to incrementWorkRequired
valueThe value to addWork, FloatRequired

Example

_LDVAL(@LOCALWORK1, 3)
_ADD_WK(@LOCALWORK1, 4)

The above script will set the work variable @LOCALWORK1 to 3.

Then, @LOCALWORK1's value is incremented by 4, making it 7.