|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Flip a boolean local variable with a button
I was wondering how I might flip a local Boolean variable using a single button. I can of course use the NOT command and set up a switch to invert the variable anytime the button is pushed. The problem is it will constantly be flipping the variable while the button is held. I want it to only flip it one time and then wait until the button is released and before flipping it again.
|
|
#2
|
||||
|
||||
|
Re: Flip a boolean local variable with a button
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|