Category : Modula II Source Code
Archive   : FILETOO2.ZIP
Filename : TOOLTYPE.DEF

 
Output of file : TOOLTYPE.DEF contained in archive : FILETOO2.ZIP
DEFINITION MODULE ToolTypes;

(*
Title : TOOLTYPES.DEF
LastEdit : 11/04/87
Author : Russell G. Osterlund, Jr.
System : LOGITECH MODULA-2/86, REPERTOIRE, BlackBeard

This product has been developed with the use of, and embodies portions of,
LOGITECH software development tools - compiler, linker, and M2MAKE.

*)

FROM Drectory IMPORT (* REPERTOIRE *)
ModeSet;

CONST
MaxEntries = 255;

TYPE
FileInfoRecord =
RECORD
tagged: BOOLEAN;
FileAttribute: ModeSet;
FileHour,
FileMinute,
FileSecond: CARDINAL;
FileMonth,
FileDay,
FileYear: CARDINAL;
FileSize: LONGINT;
FileName: ARRAY [0 .. 7] OF CHAR;
FileExtension: ARRAY [0 .. 2] OF CHAR;
END;
DirectoryRecPtr =
POINTER TO DirectoryRec;
DirectoryRec =
RECORD
NumberOfEntries,
NumberTagged,
CurrentFile,
FirstDisplayed: CARDINAL;
DirectorySize,
TaggedSize: LONGINT;
DirectoryDrive: CHAR;
DirectoryPath: ARRAY [0 .. 65] OF CHAR;
Label: ARRAY [0 .. 10] OF CHAR;
DirectoryMask: ARRAY [0 .. 11] OF CHAR;
FileInfoArray: ARRAY [0 .. MaxEntries] OF FileInfoRecord;
END;
MenuType =
RECORD
Command: ARRAY [0 .. 9] OF CHAR;
HelpText: ARRAY [0 .. 79] OF CHAR;
KeyEquivalent: CHAR;
RowNum,
ColNum: CARDINAL;
END;
SubmenuType =
RECORD
Command: ARRAY [0 .. 20] OF CHAR;
KeyEquivalent: CHAR;
RowNum,
ColNum: CARDINAL;
END;
WindowType =
(LeftWindow, RightWindow);

VAR
BothWindowsActive: BOOLEAN;
ActiveWindow: WindowType;
DirectoryInfo: ARRAY [0 .. 1] OF DirectoryRec;
END ToolTypes.


  3 Responses to “Category : Modula II Source Code
Archive   : FILETOO2.ZIP
Filename : TOOLTYPE.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/