What if....
J. Landman Gay
jacque at hyperactivesw.com
Mon Jan 28 17:44:57 EST 2013
On 1/28/13 6:36 AM, Thierry Douez wrote:
> So, smart livecoders, try to guess what would be the 4 answers to this
> script;
> then run it and thanks to comment :)
>
>
> on mouseUp
> if false or true and false then
> answer "Got it 1!"
> else
> answer "False 1!"
> end if
> if false or (true and false) then
> answer "Got it 2!"
> else
> answer "False 2!"
> end if
> if false or true then
> answer "Got it 3!"
> else
> answer "False 3!"
> end if
> if false and false or true then
> answer "Got it 4!"
> else
> answer "False 4!"
> end if
> end mouseUp
Got them all correct the first time. :P
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list