how quit ?

yves COPPE yvescoppe at skynet.be
Wed Apr 17 09:48:01 EDT 2002


Hi,

I've a mainstack with many substacks (on Mac)
to quit, I've written the following code (called by a menupick handler) :

on doquit
   put the openStacks into tstacks
   put the number of lines of tstacks into totLines
   repeat with x = totLines down to 1
     put line x of tstacks into tLine
     if tLine contains "Rev" then
       delete line x of tStacks
     end if
   end repeat
   filter tStacks with "*?"
   repeat for each line L in tStacks
     save stack L
     close stack L
   end repeat
end doquit

In rev, it works fine
in a standalone, nothing happens. I can't quit. Why ?
-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020417/2dee4e81/attachment.html>


More information about the use-livecode mailing list