type abc = ^abc;

Peter N Lewis peter at stairways.com.au
Tue Apr 29 05:30:07 CEST 2003


I just fixed a bug in the Mac interfaces where I had accidently put:

type
   SInt8 = Integer(8);
   SInt8Ptr = ^SInt8Ptr;

Needless to say that second line should be SInt8Ptr = ^SInt8;

I'm not sure what Pascal strictly requires in this case, but it seems 
an error would be indicated.  CW does give an error in this case. 
Certainly the type is pretty dubious.

It is a handy definition for really opaque types though!
    Peter.
-- 
<http://www.interarchy.com/>  <http://documentation.interarchy.com/>




More information about the Gpc mailing list