[fpc-devel] Valid macpas syntax ?
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Dec 3 18:54:25 CET 2006
On 03 Dec 2006, at 18:05, Marc Weustink wrote:
> 1) using out as parametername
"out" is not a reserved word in macpas mode, just like in tp/fpc modes.
> 2) the * behind msgb (and what does it mean ?)
>
> [FPCMacOSAll:80638]
> type
> msgbPtr = ^msgb;
> msgb = record
> b_next: struct msgb *; { next message on queue }
> b_prev: struct msgb *; { previous message on queue }
> b_cont: struct msgb *; { next message block of message }
It means that this code isn't compiled, otherwise you'd get a parser
error. It's between {$ifc CALL_NOT_IN_CARBON}, and CALL_NOT_IN_CARBON
is defined as false at the start of the file (since we do not support
non-Carbon Mac OS 9 in the Mac OS interfaces). That's probably why no
one ever noticed this error.
Jonas
More information about the fpc-devel
mailing list