B Brian Mitchell Apr 30, 2004 #1 Is there an easy way to flip the value of a boolean variable without first seeing what it's set to?
B Brian Mitchell Apr 30, 2004 #3 Yep that did it! Thanks for the quick reply!! Howard Kaikow said: dim x as Boolean x = not x ' Flip value of x Click to expand...
Yep that did it! Thanks for the quick reply!! Howard Kaikow said: dim x as Boolean x = not x ' Flip value of x Click to expand...
H Herfried K. Wagner [MVP] Apr 30, 2004 #4 * "Brian Mitchell said: Is there an easy way to flip the value of a boolean variable without first seeing what it's set to? Click to expand... \\\ Dim b As Boolean = ... b = Not b ///
* "Brian Mitchell said: Is there an easy way to flip the value of a boolean variable without first seeing what it's set to? Click to expand... \\\ Dim b As Boolean = ... b = Not b ///
A Armin Zingler Apr 30, 2004 #5 Brian Mitchell said: Is there an easy way to flip the value of a boolean variable without first seeing what it's set to? Click to expand... var = not var -- Armin How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html
Brian Mitchell said: Is there an easy way to flip the value of a boolean variable without first seeing what it's set to? Click to expand... var = not var -- Armin How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html