Can't delete option question...

Doug Lerner doug at webcrossing.com
Sat Jan 31 23:51:51 EST 2004


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



More information about the use-livecode mailing list