SetLocalBool

From Compost Wiki
Revision as of 20:14, 6 August 2014 by Jeffm (talk | contribs) (Created page with "==SetLocalBool?('n', BOOLEAN_RESULT)== {{Description|description=This command will set the value of a named Boolean variable 'n' to the value of the specified Boolean Result. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SetLocalBool?('n', BOOLEAN_RESULT)

Description

This command will set the value of a named Boolean variable 'n' to the value of the specified Boolean Result. This variable is defined in the local global scope.


Stats

ID 838
Type Number
Class All Machines
Min Version 11.0

Notes

This command is similar to SetLocalFlag and SetLocalFlagF but it uses the result of a Boolean command or test, in this way it works more like SetLocalVar#. It can be used to store the state of boolean commands or tests with out having to set the flag in an IF test.