Can't delete option question...

Doug Lerner doug at webcrossing.com
Sun Feb 1 00:47:18 EST 2004


What do you mean by "currently running"? The stack is actually closed. It
doesn't appear in "the openStacks".

It's actually been closed for a while at the time that message is sent.

doug

On 2/1/04 2:23 PM, "Ken Ray" <kray at sonsothunder.com> wrote:

> Most likely you're trying to delete the stack that is currently running.
> The message box can do it because it is a different stack. You could try
> to:
> 
> send "delete stack" && quote & vgName & quote to me in 20 milliseconds
> 
> which would give enough time for the rest of the script to run before
> the message hit.
> 
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
>> Doug Lerner
>> Sent: Saturday, January 31, 2004 10:52 PM
>> To: How to use Revolution
>> Subject: Can't delete option question...
>> 
>> 
>> A certain stack is closed and I want to delete it in a
>> script. My code looks
>> like:
>> 
>>     if vgName is not among the lines of the openStacks then
>>       if exists(stack vgName) then
>>         delete stack vgName
>>       end if
>>     end if
>> 
>> This causes a "can't delete object" error when run at the
>> delete stack line.
>> 
>> But... I can delete that stack in the message box.
>> 
>> Any ideas why this would be?
>> 
>> Thanks,
>> 
>> doug
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-> revolution
>> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list