According to Matthew Wiggins:
this sort of helps, except in both of the replys I have gotten you have mentioned ShortCard, what in god's name is that? yes, okay but this does help alot, if I find out what shortcard is.
(This was in one long line which made it hard to read; better break it up. It is also better to continue this discussion on the GPC mailing list because there might be others who have the same problem and are interested in the solution. Thanks.)
`ShortCard' is a built-in integer type in recent beta versions of GPC. It is compatible to C's `unsigned short' and usually has 16 bits.
To get the same in gpc-2.0, use
Type Cardinal = __unsigned__ Integer; ShortCard = __short__ Cardinal;
or
Type ShortInt = __short__ Integer; ShortCard = __unsigned__ ShortInt;
Other C-compatible modifiers are `__byte__', `__long__' and `__longlong__'.
For other built-in integer types in GPC betas, see the online documentation, `info -f gpc -n "Integer types"'.
Hope this helps,
Peter
Dipl.-Phys. Peter Gerwinski, Essen, Germany, free physicist and programmer peter.gerwinski@uni-essen.de - http://home.pages.de/~peter.gerwinski/ [971005] maintainer GNU Pascal [971001] - http://home.pages.de/~gnu-pascal/ [971005]