diff --git a/README.md b/README.md index 0d1dd8d..135ffb8 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,17 @@ TODO list:
Completed list
diff --git a/SOURCE/COMMON.PAS b/SOURCE/COMMON.PAS index cc07a9b..14d0ce8 100644 --- a/SOURCE/COMMON.PAS +++ b/SOURCE/COMMON.PAS @@ -161,7 +161,7 @@ TYPE ConferenceKeyType = SET OF '@'..'Z'; - CompArrayType = ARRAY[0..1] OF INTEGER; + CompArrayType = ARRAY[0..1] OF SMALLINT; CONST MCIBuffer: MCIBufferPtr = NIL; diff --git a/SOURCE/EMAIL.PAS b/SOURCE/EMAIL.PAS index 23477a5..0d835ec 100644 --- a/SOURCE/EMAIL.PAS +++ b/SOURCE/EMAIL.PAS @@ -671,7 +671,7 @@ END; PROCEDURE ReadMail; TYPE - MessageArrayType = ARRAY [1..255] OF Word; + MessageArrayType = ARRAY [1..255] OF SmallWord; VAR MessageArray: MessageArrayType; User: UserRecordType; diff --git a/SOURCE/FILE11.PAS b/SOURCE/FILE11.PAS index 9140265..58edd95 100644 --- a/SOURCE/FILE11.PAS +++ b/SOURCE/FILE11.PAS @@ -50,7 +50,7 @@ USES TimeFunc; TYPE - DownLoadArrayType = ARRAY [0..99] OF Integer; + DownLoadArrayType = ARRAY [0..99] OF SmallInt; VAR DLArray: DownloadArrayType; diff --git a/SOURCE/RECORDS.PAS b/SOURCE/RECORDS.PAS index b7d8b79..613809d 100644 --- a/SOURCE/RECORDS.PAS +++ b/SOURCE/RECORDS.PAS @@ -46,6 +46,10 @@ CONST User_Phone_None = ''; {None for user phone fields} TYPE +{$IFDEF MSDOS} + SmallInt = Integer; + SmallWord = Word; +{$ENDIF} AStr = STRING[160]; Str1 = STRING[1]; Str2 = STRING[2]; diff --git a/SOURCE/RENEMAIL.PAS b/SOURCE/RENEMAIL.PAS index fcce515..2749895 100644 --- a/SOURCE/RENEMAIL.PAS +++ b/SOURCE/RENEMAIL.PAS @@ -68,7 +68,7 @@ VAR FidoFile: FILE; - HiWaterF: FILE OF Word; + HiWaterF: FILE OF SmallWord; General: GeneralRecordType; @@ -719,7 +719,7 @@ END; PROCEDURE GetMsgLst(MemMsgPath: STRING; VAR LowMsg,HighMsg: Word); VAR FidoMsgNum, - HiWater: Word; + HiWater: SmallWord; BEGIN HiWater := 1; IF (NOT IsNetMail) THEN @@ -797,7 +797,7 @@ BEGIN LowMsg := 2; END; -PROCEDURE UpdateHiWater(MemMsgPath: STRING; HighWater: Word); +PROCEDURE UpdateHiWater(MemMsgPath: STRING; HighWater: SmallWord); BEGIN Assign(HiWaterF,MemMsgPath+'HI_WATER.MRK'); {$I-} ReWrite(HiWaterF); {$I+}