home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-07-28 | 1.6 KB | 30 lines | [TEXT/PJMM] |
- {P4 for the Mac: P4Mac}
- {}
- {Changes to make it work under Think Pascal:}
- {Ingemar Ragnemalm july 1994}
- {}
- {}
- {pcom:}
- {- All variables or routines named "string" are changed. Variables to theString. The function string is now isString.}
- {- Cut apart to four part. The unit "block.p" is still too large to compile with debug on. :-( Most sub-procedures to}
- {block() was lifted out to the unit block1.p. Many of those procedures got an extra parameter fsys, which is a}
- {parameter to block.}
- {*** pcom would benefit a lot if block.p could be cut apart to two units, so we could turn debug on!!! ***}
- {}
- {pint:}
- {- Two large arrays (code and store) are allocated dynamically (to get under the 32k limit on global variables.).}
- {- The type "beta" was changed from packed array to a "string", to allow error messages to be smaller}
- {than the array.}
- {- getname used "pack", which Think Pascal doesn't understand. This was fixed by copying char by char.}
- {- In the main procedure, commented out:}
- {store^[inputadr].vc := input^; - caused the interpreter to stop and wait for input}
- {store^[prdadr].vc := prd^; - caused an unexpected end of file error}
- {- The "prr" file is not rewritten until it i needed. This saves us irritating empty files appearing all over}
- {the place, as well as unnecessary file dialogs.}
- {}
- {Both: Use OldFileName and NewFilName to prompt for input and output files. Also checks with the Segment Loader}
- {for drag-and-dropped files. This might break the day Apple decides that all drag-and-drop must be done by Apple}
- {Events, but let's not worry until then.}
- {}
- {}
- {/Ingemar}