Definitely use "halt" instead of "quit". It will save you much time
in development mode.
If the problem is trying to quit from within a repeat loop, you could
change the structure to something like this and see if it has any
effect:
fOK = TRUE
repeat with a = 1 to the MaxInteger
if a < 100 then
doSomeStuff -- normal case
else
fOK = FALSE -- quitting condition
exit repeat
end if
end repeat
if not(fOK) then
halt
end if
Irv
At 11:49 PM +0300 6/11/01, Pekka Buttler wrote:
>Please Take me for real.
>
>The thing is this simple. Whether I do as I mentioned in the previous post
>or I do
>repeat with a = 1 to the MaxInteger
> if a > 100 then
> quit()
> end if
> dosomestuff
>end repeat
>
>DOES NOT MATTER.
>If I'd have the patience to run it through it would get through and oh yes,
>the call is definately made. The problem is that what's clogging Up the
>Applications taskCue is not some lingo, but A [script error] <==>
>[alerthook] cycle. Nothing gets through.
>
--
Lingo / Director / Shockwave development for all occasions.
(Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]