Arexx (8/92)

From:Steve Bowie
Date:6 Jan 2000 at 14:02:43
Subject:EXIT

Elliott Olson wrote:

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

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

Well, I'm not saying I'm doing it the 'right' way, but I tend to put a
lot of functions at the end of my scripts, with the main body of code
at the beginning calling the functions in sequence, doing any 'unique'
(only gonna do this once) stuff, between functions, then ending - the
main body of my program might be only a few lines, with all the work
done in trailing functions. So in my experience, without an exlicit
exit, the functions start to execute willy-nilly.

If that makes even less sense than usual, it's because my son re-
formatted my principle WinNT partition on my peecee last night -
where all my LW, Web and work docs are, and I'm a little depressed -
literally six months of work to redo.... :(

Regards, Steve
__
Freelance Media Services __/ / DraCo/Casablanca Products
_____________________________/ / /________________________________
| LIGHTWORX ____ / / / |
| *graphics & video* \ \ \/ / / "Crystallizing the Spectrum!" |
| North York, Ontario \ \/ / / http://www.interlog.com/~lightwrx |
| Canada \/_/_/ |
------------------------------------------------------------------

--------------------------- 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