getpaths.icn: Procedure to generate elements in path

link getpaths
August 14, 1996; Richard L. Goerwitz
Requires: UNIX or MS-DOS
This file is in the public domain.

    Suspends, in turn, the paths supplied as args to getpaths(),
then all paths in the PATH environment variable.  A typical
invocation might look like:

   open(getpaths("/usr/local/lib/icon/procs") || filename)

Note that getpaths() will be resumed in the above context until
open succeeds in finding an existing, readable file.  Getpaths()
can take any number of arguments.

Source code | Program Library Page | Icon Home Page