Finding interfaces

The compiler locates the interface Mumble as follows: it looks for a file named Mumble.i3 in the first directory on the search path. If this file exists, the compiler expects to find the interface within. If the file does not exist in the directory, the next one on the search path is examined, and so on. An error is given if the search path is exhausted before the interface is found.

The compiler uses the same mechanism and search path to locate generic interfaces and modules as it does to locate interfaces.

m3 does not have a built-in default search path. The search path provided by m3build contains the standard SRC Modula-3 interfaces.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Mon Sep 25 18:31:52 PDT 1995 by heydon
     modified on Thu Apr 21 14:56:49 PDT 1994 by kalsow
     modified on Fri Feb  7 00:38:19 PST 1992 by muller