AutoInst -  Carl Anthony Edwards - Thursday, 28th March 1991

This is simply a routine that allows you to specify a directory containing
BASIC procedures only, all of which will be automatically loaded up by the
routine. In addition to this, the routine takes the leafname of each file
and calls a function of the same name eg for a file called 'shiftdata', a
'FNshiftdata' command will be issued. Thus each library may be initialised
easily.

This routine may be used in the place of the Install routine to load
assembly language routines for immediate compilation. However care must be
taken that P% has been correctly set up and a block of memory initialised.

Note :

The functions automatically called must return as a variable. Also the case
used in the filename must exactly match that of the function name called.

Usage :

PROCauto_install(dir$,buffer,bufferlen) where dir$ is the directory to search
                                              buffer is a block of memory
                                              bufferlen is the buffer size
Note 2 :

The routine requires the use of the 'ReadDir' routine in the 'Filing'
section. This version of AutoInst has already appended this onto the
program. As 'ReadDir' reads files in alphabetical order, the files will be
installed in this order and thus routines dependant on others must take this
into account.
