- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Conditional defines for all Delphi versions

Question:

What are the conditional defines for Delphi

Answer:

Delphi defines the following standard conditional symbols.


For example the following would compile in the correct uses 
statement in Delphi 2 and Delphi 3 respectively. 

{$IFDEF VER90} 
uses system, windows, oleaut; 
{$ENDIF}

{$IFDEF VER100}
uses system, windows, comobj; 
{$ENDIF}

The version numbers for Delphi 1, 2 and 3 correspond to 
version 8.0, 9.0 and 10.0 of the Object Pascal compiler. For 
additional information on conditional compiles and compiler 
directives see appendix B in the Delphi 3 users guide.



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile