Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-05

Get Lazarus version at runtime

5 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders
to Ludo Brands: To the author of the help page: {$IFDEF lcl_major>0} should be {$if lcl_major>0} {$IFDEF}…

2013/5/13 Ludo Brands

Show quoted text 11 lines
On 05/13/2013 04:08 PM, leledumbo wrote: > http://lazarus-ccr.sourceforge.net/docs/lcl/lclversion/index.html > > To the author of the help page: {$IFDEF lcl_major>0} should be {$if lcl_major>0} {$IFDEF} works only with defines. Here we have constants.

See also the example:
http://svn.freepascal.org/svn/lazarus/trunk/examples/lclversion/unit1.pas

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130514/fd3574bc/attachment.html>

Reply by email