how quit ?

Ken Ray kray at sonsothunder.com
Wed Apr 17 15:00:10 EDT 2002


how quit ?Yves,

Any reason you can't do:

on doquit
  quit
end doquit

???

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

  ----- Original Message ----- 
  From: yves COPPE 
  To: use-revolution at lists.runrev.com 
  Sent: Wednesday, April 17, 2002 9:44 AM
  Subject: how quit ?


  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/eb31cb82/attachment.html>


More information about the use-livecode mailing list