DIRECTORY BasicTime USING [GMT, nullGMT], FS USING [OpenFile], Rope USING [ROPE]; AMFiles: CEDAR DEFINITIONS = BEGIN OPEN Rope; pathPrefixes: LIST OF ROPE; -- the search list for symbol and source files PrependPathPrefix: PROC[pathPrefix: ROPE]; -- to pathPrefixes FullFileName: PROC [shortName: ROPE, createTime: BasicTime.GMT _ BasicTime.nullGMT] RETURNS[fullName: ROPE]; OpenIt: PROC [shortName: ROPE, createTime: BasicTime.GMT _ BasicTime.nullGMT] RETURNS[fullName: ROPE, openFile: FS.OpenFile]; END. AMFiles.mesa Last Modified On December 12, 1983 8:42 am By Paul Rovner The list of path name prefixes that are used by the procs below. Each entry on this list has either the form "/.../" or the form "[...]<...>" The last entry on this list is always "///" pathPrefixes _ CONS[pathPrefix, pathPrefixes]; pathPrefix must have the form "/.../" or the form "[...]<...>" Finds the full path name of a symbol or source file. Assumes that shortName has an appropriate extension. Returns shortName if it begins with [, / or <. First tries FS.FileInfo on shortName, then prepends each element of pathPrefixes and uses FS.FileInfo to find the file. Returns NIL if no file is found Open a symbol or source file for read (using FullFileName and FS.Open) Returns [NIL, FS.nullOpenFile] if file not found Ęp˜šœ ™ Jšœ9™9J˜šĎk ˜ Jšœ œœ ˜Jšœœ ˜Jšœœœ˜——J˜š œ œ œœœ˜-J˜š Ďb œœœœĎc.˜KJšœ@™@JšœL™LJ™+J˜šĎnœœ œŸ˜>Jšœœ™.Jšœ>™>J˜——š  œ˜Jšœ œœ˜@Jšœ œ˜Jšœ4™4Jšœ4™4Jšœ.™.Jšœw™wJšœ™—J˜š œ˜ JšœF™FJšœœ ™0Jšœ œœ˜@Jšœ œ œ ˜/——J˜Jšœ˜J˜—…—’