[comp.sys.apple] TML Pascal bug

mdavis@pro-sol.cts.COM (Morgan Davis) (08/05/87)

I've located a bug in TML Pascal that I thought some of you might want to know
about.  Of course, there's the logical NOT bug which will be fixed in the 1.1
update, but until you get it, there are two other bugs which YOU can fix on
your own.

They are found in the TOOLINTF directory in the GSINTF.PAS source file.  Using
the APW editor, edit this file and locate the DisposeAll procedure.

Change the type classification of UserID from Handle to Integer.  Likewise, do
the same for the PurgeAll procedure in that same area of the source file.

Then save your changes and compile this file.  It will create a new
GSINTF.USYM file of type $00.  Replace the old GSINTF.USYM file with the new
compilation (do not link!).

Now when your programs use the DisposeAll(UserID) statement, it won't cause a
compilation error.  The object code produced will be correct, too -- it really
will dispose all the memory handles associated with your TML application (this
is an alternative to using DisposeHandle, and is much less trouble in my
oppinion.)

--Morgan Davis

UUCP: [ ihnp4 cbosgd hplabs!hp-sdd sdcsvax nosc ] !crash!pnet01!pro-sol!mdavis
ARPA: crash!pnet01!pro-sol!mdavis@nosc.mil
INET: mdavis@pro-sol.CTS.COM
BITNET: mdavis%pro-sol.cts.com@ucbvax.berkeley.edu