Path: utzoo!attcan!uunet!ncrlnk!ncrwat!images1!jrl From: jrl@images1.Waterloo.NCR.COM (john Latala) Newsgroups: comp.sys.handhelds Subject: local procedures Message-ID: <742@ncrwat.Waterloo.NCR.COM> Date: 13 Jun 90 10:58:17 GMT References: <741@ncrwat.Waterloo.NCR.COM> Sender: news@ncrwat.Waterloo.NCR.COM Reply-To: john.Latala@Waterloo.NCR.COM Organization: NCR Canada Ltd, Waterloo, Ontario, Canada. Lines: 25 Keywords: 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