Delphi XE4 コンパイラにバインドされている条件付きコンパイラ ディレクティブは何ですか? 私は次のようなことを考えました:
{$ifdef VerDXE4}
code segment compiled only by the Delphi XE4 compiler
{$endif}
Delphi XE4 コンパイラにバインドされている条件付きコンパイラ ディレクティブは何ですか? 私は次のようなことを考えました:
{$ifdef VerDXE4}
code segment compiled only by the Delphi XE4 compiler
{$endif}
{$IFDEF VER250} // RAD Studio XE4
{$ENDIF}
さまざまなバージョンが Embarcadero の DocWiki に記載されています。
使用できますVER250
:
{$IFDEF VER250}
...
{$ENDIF}
CompilerVersion
または、次の定数を使用できます。
{$IF (CompilerVersion >= 25) and (CompilerVersion < 26)}
...
{$IFEND}