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.

Anyway, I tested MAsterApp. Even that can't do it.

Pekka


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kerry Thompson
> Sent: 11. kesakuuta 2001 23:33
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> FORCING Projector to quit
>
>
>
> >Say For Argument, that My Director Projector is stuck in a
> situation, where
> >it does not even allow me to call quit
> >
> >repeat with a = 1 to the MaxInteger
> >   if a <> 100 then
> >     Dosomestuff
> >   else
> >     quit()
> >   end if
> >end repeat
>
>
> The basic problem is that you only quit in one specific
> instance--when a =
> 100. If a never gets to 100, you never quit. You never get to the
> "quit()"
> line, so it doesn't matter which Xtra you use.
>
> More often you would do something like
>
> quitMe = FALSE
> repeat with a = 1 to the MaxInteger
>      doSomeStuff -- set quitMe to TRUE here
>      if quitMe = TRUE then exit
> end repeat
>
> Cordially,
>
> Kerry Thompson
>
>
> [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!]
>


[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!]

Reply via email to