Embarcadero has just released Delphi 10.1 Berlin on 20/April/2016.
The CompilerVersion for Delphi 10.1 Berlin is 31 and the defined symbol is VER310. So you can have something like this:
{$IFDEF VER310} {$DEFINE DELPHI101BERLIN} {$ENDIF}
Alternatively, you can compare the Constant CompilerVersion like this:
{$IF CompilerVersion>31} {$DEFINE DELPHI101BERLIN_UP} {$IFEND}
–EOF (The Ultimate Computing & Technology Blog) —
GD Star Rating
loading...
266 wordsloading...
Last Post: C++ Coding Exercise - How to Simplify Path?
Next Post: How to Check Valid Sudoku in C/C++?