[comp.sys.mac.programmer] Bug in Think Pascal?

cyosta@taux01.UUCP ( Yossie Silverman ) (07/19/89)

Well, I pulled out some old sources that worked fine with LSP and tried them
with THINK Pascal.  These two sources used 3D graphics.  When compiling one
of them, I got LINK errors saying that X2Fix was not found.  I included the
appropriate .lib and .p file in the project.  The other source had the problem
of the3DPort not being defined in the 3D graphics .p file.  It was, in LSP.
I defined it and the program seemed to work, under THINK Pascal's environment.
When I ran it as a standalone, core was getting mashed, and the result was
usually the "quit" boolean getting stepped on and the program quiting without
waiting for ANY user input.  The questions I have are:  1) What happened to
X2Fix?  2) Why was the3DPort removed from Graf3D.p?  3) why doesn't the
manual have ANYTHING on using 3D graphics?  4) How can a program work fine
under the debugger and die when run in standalone?  Yah, I know, the code
is smaller and so is the stack (possibly) and stuff moves around so
different things are effected.  Still, it isn't right.  Thanks - Yossie
-- 
Yossie Silverman                                   What did the Caspian sea?
National Semiconductor Ltd. (Israel)
cyosta%taux01@nsc.nsc.COM         or        RPR1YOS@TECHNION.BITNET
NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY