Forum Discussion
Infinite Toggle
Jeff,
The variable is a necessity because it serves as an independent "3rd party" to the action. Otherwise, your triggers are something like"Change state of text box to B if it is A", followed by "Change state of text box to A if it is B". You can see how that would always end up with the text box in a state of A.
The "NOT assignment" only works for variables that can have only two options, and at present for SL, that means True/False. Think of it as meaning "Change it to the value which it is not. That gives you the ability to change it without having to know or reference what it currently is.
Just change it (whatever its current value),to the other value, and then depending on its new value, change the state of the text box.
- JeffNauman6 years agoCommunity Member
Thanks again, Walt. I've studied it some today and it made complete sense. I realize now that the 'toggle' instruction in the object trigger is generated if you use the NOT ASSIGNED parameter. Your response was just what I needed.
Sent from BlueMail