[comp.sys.mac.programmer] Think Pascal 3 incompatible with IIfx?

a_dent@fennel.cc.uwa.oz.au (11/03/90)

Thanks for all the postings regarding StdText to get my fractional font widths,
I haven't tried it yet (other items in project have higher priority) but very
glad to hear it - I never bothered reading that part of the Quickdraw chapter
as I figured I'd never want to replace the standard routines.  I should have 
remembered the Golden Rule - "First develop an eidetic memory then read all of
Inside Mac, Technotes and Usenet discussions...  :-)"

The justification is now working fine - I had included the space at which I 
wrapped the text in the number of spaces being divided to calculate SpaceExtra, 
which resulted in some wonky justification.  (The old "end-point-paranoia!").

Now to my next problem - the program just stopped working on the IIfx, as a 
compiled program!!!  It works fine in the Think Pascal environment and on my
Mac II.  I am using version 3.0 of Pascal, dated 6th Feb 1990.  Is there a 
new release and, if so, have Symantec stopped putting the updaters through
comp.binaries.mac??

By the way, pay careful attention to the comments in the iApplication method
about calling MoreMasters.  My program was mysteriously exiting a loop somewhere
(I gave up trying to trace it) with the standard 4 calls.  I did the empirical
testing they describe and worked out I needed about 60 calls!!!!  This fixed
the problem nicely!  (I have a LOT of objects - 2 x 40 page newsletters with 
about 80 page objects on average).

If people are interested I can post a description of how I changed the "one 
document, one window" paradigm to support a window (open-able from a menu) for
each page of the newsletter?

Hoping someone can answer the IIfx incompatability...
Andy Dent                     A.D. Software phone 09 249 2719
Mac & VAX programmer          94 Bermuda Dve, Ballajura
a_dent@fennel.cc.uwa.oz       Western Australia  6066     
a_dent@fennel.cc.uwa.oz.AU (international)