type abc = ^abc;

Frank Heckenbach frank at g-n-u.de
Tue Apr 29 20:24:56 CEST 2003

Peter N Lewis wrote:

> 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.

Any references to why it might be wrong in Pascal? Generally,
pointers may be used before declaration within one type declaration


Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
GPC download signing key: 51FF C1F0 1A77 C6C2 4482  4DDC 117A 9773 7F88 1707

More information about the Gpc mailing list