Arexx (9/92)

From:Donald Dalley
Date:6 Jan 2000 at 13:30:39
Subject:Re: Re: EXIT

On 06-Jan-00, Elliott Olson wrote:

> > Exactly, Steve. Actually, almost all of my programs have two EXITs - one
> > where I expect to leave (my closing func) and one after all the main CALLs
> > of the starting funcs (to stop any run-on).

> If there is nothing after the last call, why would it run-on (where would
> execution continue) without an exit?

Hello, Elliott:

Without the EXIT after the CALLs, all the funcs would be run, if the main EXIT
func is not CALLed. So, there is the answer - if you don't CALL funcs from a
main program, you probably won't need two EXITs.

The only thing I would add to what Steve said is that the order is not
willy-nilly (computers, generally, are not wishy-washy or random), they would
be in the order built into them. In other words, if one func called another,
skipping some inbetween, then the skipped ones would never get run, if they
don't back-track.



---===///||| Donald Dalley |||\\\===---
The World of AmiBroker Support
http://webhome.idirect.com/~ddalley
Member: ICOA and Team AMIGA

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm!
You can even make money by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------

ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com