[comp.sys.amiga.tech] The 1001 Paths

spencer@eris.UUCP (03/29/88)

Recently on *comp.sys.amiga* john13@garfield.UUCP (John Russell) wrote:
...So anyone writing applications is quite free to use this method, for instance
...you can do something of the form
...
...set FONTS=fonts:!fontdisk1:fonts/!wb:fonts/!dpaint:fonts/
...
...and write a little parse routine to search all locations for any given file.

Actually, I just found out recently that the OpenLibrary call can take a path
name, if that is the case, all we need to do is change the OpenDiskFont call
to do the same thing, then you can have the program look in specific areas,
like on our Shakespeare program, it looks for all support files in the
CurrentDir, then the directory it was started from, and lastly in the logical
volume Shake:  So there is just about no way to hide the support files, but,
you still have to do an Assign Fonts: Shake:Fonts, to get our fonts....
...
...John


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Randy Spencer      P.O. Box 4542   Berkeley  CA  94704        (415)222-7595 
spencer@mica.berkeley.edu        I N F I N I T Y         BBS: (415)222-9416
..ucbvax!mica!spencer            s o f t w a r e                  AAA-WH1M
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-