NPR puzzle

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jul 22 11:40:53 EDT 2005


Hi Mark,

Strictly speaking, anything "not TRUE" is "FALSE" is correct:

on mouseUp
   local xyz
   put 1234 into xyz
   if not xyz then put false
   else put true
end mouseUp

And you tried anything "FALSE" is "not TRUE" :-)

Le 22 juil. 05 à 17:31, Mark Wieder a écrit :

> By that reasoning, anything not TRUE is FALSE. Carried to its logical
> conclusion,
>
> on mouseUp
>   local xyz
>
>   put 1234 into xyz
>   if xyz is false then
>     put "xyz evaluates to FALSE"
>   else
>     put "xyz evaluates to TRUE"
>   end if
> end mouseUp
>
> should provide "FALSE", since 1234 isn't FALSE. Obviously this doesn't
> happen. There's nothing you can put into xyz other than "false" that


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list