duplproc.icn: Program to find duplicate declarations

December 30, 1991; Richard L. Goerwitz
Requires: UNIX (MS-DOS will work if all files are in MS-DOS format)
This file is in the public domain.
Use this if you plan on posting utility procedures suitable for
inclusion in someone's Icon library directories.

duplproc.icn compiles into a program which will search through
every directory in your ILIBS environment variable (and/or in the
directories supplied as arguments to the program).  If it finds any
duplicate procedure or record identifiers, it will report this on
the standard output.

It is important to try to use unique procedure names in programs
you write, especially if you intend to link in some of the routines
contained in the IPL.  Checking for duplicate procedure names has
been somewhat tedious in the past, and many of us (me included)
must be counted as guilty for not checking more thoroughly.  Now,
however, checking should be a breeze.

BUGS:  Duplproc thinks that differently written names for the same
directory are in fact different directories.  Use absolute path
names, and you'll be fine.

Source code | Program Library Page | Icon Home Page