Anomolous is among
Brian Yennie
briany at qldlearning.com
Sat Jul 23 00:50:23 EDT 2005
How about this rule:
Transcript fails when determining if a word is among the words of a
string literal WHEN:
The string literal ends with <space> AND, in the case of a chunk
expression, includes that last space.
In any case, it definitely looks like a bug and smells of some check
for end-of-string, next-word, and NULL going wrong in the engine...
> Yeah. But it seems to be a little more involved than that:
>
> put "planets" is among the words of char 4 of "1 2 "
> ==> true
>
> put "planets" is among the words of char 2 of "1 2 "
> ==> false
>
> Weird.
>
> on mouseUp
> constant x = " "
> put "planets" is among the words of x
> end mouseUp
>
> ==> true
More information about the use-livecode
mailing list