home *** CD-ROM | disk | FTP | other *** search
-
- PATCHES FOR EDITORS.PAS TP6 UNIT
- ================================
-
- The following patch fixes the problem of not being able to enter
- numbers 3 thru 6 into the editor of the EDITORS.PAS example
- shipped with Turbo Pascal 6.0.
-
- Open EDITORS.PAS in the TURBO editor and search for the EXISTING
- code. Once that is found change the EXISTING code to the CHANGE
- TO code. Save your changes and recompile EDITORS.PAS.
-
- ---------------------------------------------------
-
- EXISTING (line 421):
-
- LODSW
- OR BL,BL
- JE @@2
- CMP BL,DL
-
-
- CHANGE TO:
-
- LODSW
- CMP BL,DL
-
- ---------------------------------------------------
-
- EXISTING (line 425):
-
- JE @@4
- @@2: CMP BH,DH
- JE @@4
-
-
- CHANGE TO:
-
- JE @@4
- CMP BH,DH
- JE @@4
-
- ---------------------------------------------------
-
- EXISTING (line 739):
-
- var
- Key: Word;
-
-
- CHANGE TO:
-
- var
- ShiftState: Byte absolute $40:$17;
- Key: Word;
-
- ---------------------------------------------------
-
- EXISTING (line 744):
-
- begin
- Key := Event.KeyCode;
-
-
- CHANGE TO:
-
- begin
- if (ShiftState and $03 <> 0)
- and (Event.ScanCode >= $47)
- and (Event.ScanCode <= $51) then
- Event.CharCode := #0;
- Key := Event.KeyCode;
-
- ---------------------------------------------------
-