Re: [NTLK] PDFNewt

From: Eric L. Strobel (fyzycyst_at_comcast.net)
Date: Thu Apr 11 2002 - 09:29:43 EDT


on 4/11/02 5:51 AM, BOURGUIGNON D DvSI/SNPI MTY at
didier.bourguignon_at_francetelecom.com wrote:

>
> After a fast reading (I don't know if it's a good expression in English) of
> the ImagingWithQuickDraw.pdf found at the developper.apple.com, I'just have to
> say only one thing : I must be dreaming. The structure of the PICT files is
> done
> in .... Pascal.
>
> God is exists ;-)))
>
> Cordialement
> Didier BOURGUIGNON

Certainly! All the original Mac stuff was Pascal. That's why all Mac C/C++
compilers since ancient times have had provisions to do 'pascal'
declaration. As I recall, what you find is that many Toolbox calls in other
languages are just wrappers that ensure the arguments are cast properly and
placed on the stack in Pascal ordering, then they do an inline assembly call
to the appropriate Toolbox routine.

I suspect that Apple (& Borland) unnaturally prolonged the existence of
Pascal for many years... ;-)

- Eric.

-- 

Eric Strobel (fyzycyst_at_NOSPAM^mailaps.org)

===================================================================== If aviation had grown as slowly as space travel, the first paying customer would have flown in 1943 -- in the 1,657th expendable Wright Flyer. =====================================================================

-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net



This archive was generated by hypermail 2.1.2 : Sun May 05 2002 - 14:03:27 EDT