SIMPLE way to reverse the value of a Boolean field
This is an extremely easy method of reversing the value of a Boolean value.
Rate SIMPLE way to reverse the value of a Boolean field
(2(2 Vote))
If you have ever done this:
IF someBoolean = TRUE THEN
someBoolean = FALSE
ELSE
someBoolean = TRUE
END IF
Here's an easier method:
someBoolean = NOT someBoolean.
That's it... vote if you like.
- Derreck
SIMPLE way to reverse the value of a Boolean field Comments
No comments yet — be the first to post one!
Post a Comment