In fact, I am working on translating some libraries into free pascal. therefore, the problem is that in delphi you can use the ampersand character (&) to exit the reserved word, but it does not work in free-pascal. the compiler complains about this message
ForLibDx.pas(72,13) Fatal: illegal character "'&'" ($26)
when the ampersand symbol is turned on.
actually i use {$MODE DELPHI}to compile my units under free pascal
FPC 2.2.4
Lazarus 0.9.28.2
early.
source
share