Incompatibility list
This document contains some informations about differences between
FPKPascal and Turbo Pascal.
This list is not complete.
Assembler
- The assembler uses an other syntax.
Run time library
- Unit SYSTEM
MEM, MEMW and PORT are not supported
VAL expects as third parameter always a WORD
- The unit OVERLAY isn't available
- Turbo Vision is not available
Preprocessor
- The comment style (* ... *) isn't supported
- nested comments are allowed
Syntax
- The USES instruction isn't allowed in the implemenation part of an unit
- INTERRUPT, FAR and NEAR are ignored
- To get the address of a procedure to assign it to a procedure variable
the @-operator must be used.
- ASSEMBLER, PACKED, INLINE and ABSOLUTE are not supported by the compiler,
but they are key words
- The header of forward declared variables must be always complete rewritten
in the definition, else the compiler improves that the procedure are overloaded.
- There some more reserved words
Semantics
- always short boolean evalution
Others
- The command line parameters are different
- compiler switches are different
- the units aren't binary compatible
back to FPKPascal homepage
fnklaemp@cip.ft.uni-erlangen.de
Copyright (c) 1996 by Florian Klaempfl