#: 20044 S3/Languages
19-Jun-94 13:12:26
Sb: #19983-#Software Tools/Pascal
Fm: Paul R. Santa-Maria 71674,422
To: Ernest Withers Jr. 71545,1117 (X)
Thanks for SWTOOL.ZIP!
I am converting it to Borland's Turbo Pascal 7.0 for MS-DOS. That means having
to compare every line with the book since the code was adapted for Turbo Pascal
3.0 for CP/M and minor changes were made in some routines. I also have to type
in all the comments and test each program. My goal is to have every routine
match the book exactly except for the operating system dependent primitives
described in the Appendix. Fortunately, I have a Pascal source code
reformatter to handle all of the grunt work of proper indentation and
capitalization.
When I am done I shall upload it to the Borland Pascal forum (BPASCAL) since I
doubt a third incarnation would be appropriate in OS9.
I learned one lesson... don't optimize! I lost four days after I "optimized"
two routines the book said should be primitives if possible. After replacing
them with the book's brain-dead versions, everything worked fine. I shall
finish using only the book's routines, and save optimization after the routines
work.
Since I never REALLY examined the code before because I did not want to type it
in, I never noticed how much the code resembles C. That is not suprising,
however, if you consider who the authors are.
There is 1 Reply.
|