Weirdness in the Script Editor!

David Burgun dburgun at dsl.pipex.com
Sat Apr 1 06:10:15 EST 2006


Hi,

Given the following line:

put "xxxxx" into item 3 of myList

If I double click on the "3" it selects it allowing me to change just  
the "3" to something else.

If instead, I do this:

constant kItemNumber=3

put "xxxxx" into item kItemNumber of myList

If I double click on the "kItemNumber" it selects everything from the  
"kItemNumber" to the end of line!!!

More a heads-up really! I'm guessing it has something to do with the  
way in which the constant text substitution works, but it's it's very  
annoying and has caused me some grief until I realized what was  
happening!

All the Best
Dave




More information about the use-livecode mailing list