How do you avoid a reserved word in Free-Pascal?

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.

+2
source share
1 answer

, , FPC .
(&) escape- Delphi- Delphi.

, ( unit classname), .

. Delphi , IDE .

-

+4

Source: https://habr.com/ru/post/1781478/


All Articles