<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>how quit ?</title></head><body>
<div>Hi,</div>
<div><br></div>
<div>I've a mainstack with many substacks (on Mac)</div>
<div>to quit, I've written the following code (called by a menupick
handler) :</div>
<div><br></div>
<div><font face="Geneva" size="+2" color="#000000">on doquit<br>
put the openStacks into tstacks<br>
put the number of lines of tstacks into totLines<br>
repeat with x = totLines down to 1<br>
put line x of tstacks into tLine<br>
if tLine contains "Rev" then<br>
delete line x of tStacks<br>
end if<br>
end repeat<br>
filter tStacks with "*?"<br>
repeat for each line L in tStacks<br>
save stack L<br>
close stack L<br>
end repeat<br>
end doquit</font></div>
<div><br></div>
<div>In rev, it works fine</div>
<div>in a standalone, nothing happens. I can't quit. Why ?</div>
<x-sigsep><pre>--
</pre></x-sigsep>
</body>
</html>