Subj : Lazarus and FPC
To   : Dan Richter
From : mark lewis
Date : Tue Jun 19 2018 03:30 pm


On 2018 Jun 13 17:38:04, you wrote to me:

DR>> Is there a way to use the Lazarus version number set up in the Project
DR>> Options -=> Version Info, as a variable in the code?

ml>> do you mean for something like this??

ml>>   myProgram DEBUG version 0.7.7.3 [2015/03/29 04:00:54]
ml>>   Compiled with FPC 2.6.4 for OS2 running on i386

DR> I was actually looking for a way to use the program version number
DR> that is under 'Project Options' then 'Version Info'.

oh! i never mess with that... it is only included in certain specific
targets... i code my apps' version numbers in them as an include file that is
automatically adjusted by my compiling script(s) when necessary ;)

DR> I was able to find the information I needed thanks to Gene's reply.

i might have to take a closer look and see what the deal is :)

DR> Thank you though. :)

you're quite welcome ;)

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... Gratuitous acts of senseless violence are MY forte.
---
* Origin:  (1:3634/12.73)