EurekaLog version constants

Top  Previous  Next

EurekaLog includes two constants, EurekaLogCurrentVersion (Word) and EurekaLogVersion (String) that enables you to check the current EurekaLog version.

 

Example:

 

 

uses EConsts; // The required unit...

 

begin

   ...

   // Write 4.5.0 for the EurekaLog 4.5.0 version.

   WriteLn(EurekaLogVersion); 

 

   // Write 'OK' if EurekaLog version if 4.2.0 or higher.

   if (EurekaLogCurrentVersion >= 420then WriteLn('OK'); 

   ...

end;