Anomolous is among

Wilhelm Sanke sanke at hrz.uni-kassel.de
Fri Jul 22 13:36:01 EDT 2005


On Fri Jul 22   Mark Wieder mwieder at ahsoftware.net wrote:
 

> Must be a messagebox thing. This works fine in a button script:
>
> on mouseUp
>   local xyz
>  
>   put "1 2 3 4 " into xyz
>   put "penguin" is among the words of xyz
> end mouseUp
>
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net



It isn't a message box thing.

If you leave out the variable and use

put "penguin" is among the words of "1 2 3 4 "

into your script - like in the message box - you get the same result "true".

Hence it must be an engine thing that goes way back, even in Rev 2.1.2 
it is "true".

And it is not an IDE bug as a standalone yields the same results.

--Wilhelm Sanke
<http://www.sanke.org/MetaMedia>





More information about the use-livecode mailing list