home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1991-08-15 | 790 b | 31 lines |
- DEFINITION MODULE IdLookup;
-
- (*
- By : Greg Mumm
-
-
- This program uses one hash table to store information on various
- identifiers and symbols. The information is kept stored in this
- module along with the related functions needed to store and
- retrieve the information stored within.
- Before the start of the main program the hash table will be created.
- *)
-
- FROM scan IMPORT STRING ;
-
- TYPE
-
- ProcessType = ( exchange, special, NoSupport, NotFound );
-
- IdInfoType = RECORD
- ProcessCode : ProcessType;
- ExchangeString : STRING;
- END;
-
-
- PROCEDURE SearchHash( VAR IdInfo : IdInfoType ;
- SearchSymbol : STRING ) : BOOLEAN;
-
-
- END IdLookup.
-