Re: Can't delete option question...
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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > Web Site: http://www.sonsothunder.com/ > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] 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 >> [EMAIL PROTECTED] >> http://lists.runrev.com/mailman/listinfo/use-> revolution >> > > > ___ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: Can't delete option question...
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: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-> revolution > ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
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 [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution