Category : Modula II Source Code
Archive   : HISTRPT.ZIP
Filename : MCHIST.DEF

 
Output of file : MCHIST.DEF contained in archive : HISTRPT.ZIP
DEFINITION MODULE MCHIST;
(*
This module defines the record for the MC SYSTEMS datafile - ICHIST.00.
For use under JPI TOPSPEED Modula-2.
Written by G.D. Walters
Creation Date | 22 March, 1989 10:44
Last Revision | 22 March, 1989 10:44
*)

FROM FIO IMPORT File,EOF,RdBin,WrBin,Seek,Size;
FROM IO IMPORT WrLn,WrStr,WrCard,WrLngCard;
FROM Str IMPORT Compare;
FROM Window IMPORT Clear,GotoXY;
FROM MCSTOCK IMPORT Str16;

TYPE
HistType = RECORD
status : BYTE;
item : Str16;
info : ARRAY[0..11],[0..1] OF LONGREAL;
filler : ARRAY[0..46] OF CHAR;
END;
HistIndex = RECORD
recnum : LONGCARD; (* 4 BYTES *)
item : Str16; (* 16 BYTES *)
END; (* TOTAL LENGTH 20 BYTES *)

VAR
HIST : HistType;
HNX : HistIndex;
HFILE : File;
HN : File;

PROCEDURE HSearch(Strng:Str16):LONGCARD;
PROCEDURE MakeHistIndex;

END MCHIST.

  3 Responses to “Category : Modula II Source Code
Archive   : HISTRPT.ZIP
Filename : MCHIST.DEF

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/