[Gambas-user] Help with True/False logic statement
Laurent Carlier
lordheavym at ...626...
Wed Mar 5 22:01:41 CET 2008
Le Wednesday 05 March 2008 12:08:43 richard terry, vous avez écrit :
> Never can get my brain around easy ways to do true/false.
>
> Could someone give me a one liner logic for this?, or is it at its
> simplest?
>
> IF btnTogglePastHistory.tag = TRUE THEN
> btnTogglePastHistory.tag = FALSE
> ELSE
> btnTogglePastHistory.tag = TRUE
> END IF
>
> Regards
>
> Richard
>
btnTogglePastHistory.tag = NOT btnTogglePastHistory.tag
++
More information about the User
mailing list