[Lazarus] Get LCL revision or version via ifdef

cobines cobines at gmail.com
Wed Oct 5 14:59:12 CEST 2011


2011/10/5 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:
> Perhaps the used unit is not parsed until a separator token (',' or ';')
>  has been parsed. What if you try:
>
>> uses
>>   LCLVersion
>    ,
>>   {$IF DECLARED(lcl_fullversion)}
>>   {$ERROR interface}
>>   {$ENDIF}
>    SysUtils
>>   ;

Still the same. If moved after ';' it gives "Internal error 200501152".

--
cobines




More information about the Lazarus mailing list