Borland Pascal GNU Pascal shortint __byte__ Integer Integer __short__ Integer LongInt Integer = __long__ Integer Comp __longlong__ Integer Byte __unsigned__ __byte__ Integer Word __unsigned__ __short__ Integer - __unsigned__ __long__ Integer - __unsigned__ __longlong__ IntegerReal types: There is no built-in `Single', `Double', `Extended' in GNU Pascal; Real has 8 bytes on an Intel-x86 machine. Use `__short__ Real' to define `Single', `__long__ Real' to define `Extended'.
Borland Pascal GNU Pascal Single __short__ Real Real - Double Real Extended __long__ Real Comp __longlong__ IntegerA KNOWN BUG: You cannot
writeln
variables of a type with a
__
modifier. To work around, cast them to their basis type
(Integer or Real) when writeln
ing them:
Var x: __long__ Real; writeln ( Real ( x ) );
Type myRec = record f, o, oo: Boolean; Bar: Integer; end (* myRec *);has 8 bytes, not 7.
Type FuncPtr = ^Function ( Real ): Real;Furthermore, GNU Pascal supports Standard Pascal's procedural parameters--see below.
Go to the first, previous, next, last section, table of contents.