[comp.sys.handhelds] SVC program

jc@atcmp.nl (jc van Winkel) (03/03/90)

For routines that any program may need, I have created a special directory
in the top directory called lib. To use the library routine, you push all
the routine's arguments and it's name. the call SVC (stands for SerVice Call)
which also resides in the top directory.

Source for SVC follows:
<<
  PATH -> OWD                        // save the old directory
  << HOME LIB RCL                    // push the library routine on the stack
     1 OWD SIZE FOR I                // now go back to the old directory
	'OWD' I GET EVAL
     NEXT
  >>
  EVAL                               // run the library routine
>>

I find this way of making genarally accessable functions handy.
Any comments?

Jan Christiaan van Winkel