
4.3 Compilation: the Build, File, and Path structures
4.3.2 Describing the location of a program unit on the file system
Units are typically found in different directories on the file system and MLWorks needs some way of finding them. This can be done with a pathname that is given in the form that the underlying file system understands, but the disadvantage of doing so is that files containing references to other files in this way are not portable from platform to platform. MLWorks overcomes this problem by providing a portable notation for describing unit locations, but allows you to use filesystem-specific pathnames if you prefer. The portable notation is described in Section 4.3.2.1.
The Build and File structures provide exactly the same interface to the batch compilation system, but the functions in Build use the portable notation for describing units, while the functions in File use the underlying filesystem's pathname conventions.
- 4.3.2.1 - Shell.Build's portable unit-location notation
-
- 4.3.2.2 - Shell.File's unit-location notation
-
MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker