home *** CD-ROM | disk | FTP | other *** search
- {$R-,S-,I-,D-,V-,B-,N-,L- }
- {$O-}
- unit configrt;
-
-
- {/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\}
-
- interface
-
- uses Overlay,
- gentypes;
-
- {/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\}
-
- Procedure readconfig;
-
- {/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\}
-
- implementation
-
- {/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\}
-
- Procedure readconfig;
- VAR q:file of configsettype;
- i:integer;
- begin
- assign (q,'Forum.CFG');
- reset (q);
- i := ioresult;
- if i = 0 THEN
- Read (q,configset)
- else
- begin
- writeln ('Forum.CFG not found! Please configure Forum-PC!');
- halt (5)
- end;
- system.close (q);
- if versioncode<>thisversioncode then begin
- writeln ('Version code mismatch! Please run the conversion program!');
- halt (100)
- end
- end;
-
- end.