[comp.sys.handhelds] local procedures

jrl@images1.Waterloo.NCR.COM (john Latala) (06/13/90)

I have a couple routines that were simpler to write if I had a couple of
support routines. The problem with this is that I don't like the extra
routines cluttering up a directory. Plus you have to make sure that you
don't forget them when someone else wants a copy of the program.

To get around this I started making local procedures. These are done by:

	<<
	  << procedure 1 >>
	  << procedure 2 >>
	  << procedure 3 >>
	  -> p1 p2 p3
	  <<
	    p1 EVAL
	    p2 EVAL
	    p3 EVAL
	  >>
	>>

Is there a way to call p1, p2 or p3 WITHOUT using the EVAL command?
Being able to execute 'p1' just like some global procedure would make
things a little easier to follow? This is especially true when you have
to stack local variables that are global to each of p1, p2 and p3.
--
john.Latala@Waterloo.NCR.COM