Another "should be an error" ?

Alex Tweedly alex at tweedly.net
Sat May 9 11:54:33 EDT 2009


Here's what my script *should* have said
> repeat while the last char of temp is CR
>    delete the last char of temp
> end repeat
and if it has done, then it would have worked. But by mistake, I typed in
> repeat while the last chr of temp is CR
>    delete the last char of temp
> end repeat
(Note the missing in the first line .... 'last chr' instead of 'last char' )

which doesn't ever delete that last character.

Shouldn't this have been a compilation error ?

-- Alex.




More information about the use-livecode mailing list