Scope Problem on Standalones

J. Landman Gay jacque at hyperactivesw.com
Mon Nov 28 14:00:16 EST 2005


David Burgun wrote:

>> set itemDelimiter to :/"
>> delete item -1 of myStackFIlePath

ItemDelimiters are limited to a single character. I haven't a clue why 
this should work in the IDE, but it shouldn't. Also, you have omitted 
"the" which in this case isn't strictly necessary but will improve 
engine performance, and  which may fail to work in future versions if it 
is omitted.

What you want is:

    set the itemDelimiter to "/"

or alternately, since it is a built-in constant, you can use:

    set the itemDelimiter to slash

> 
> So, it looks like simple delete and put statements are not working
 > in a standalone!


The "put" and "delete" commands work fine in standalones, unless you are 
putting stuff into the message box, which doesn't exist there.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list