Subj : Re: Lazarus and FPC To : Vince Coen From : Dan Richter Date : Tue Jun 12 2018 15:52:45 -=> Vince Coen wrote to Black Panther <=- Hi Vince, > Is there a way to use the Lazarus version number set up in the Project > Options -=> Version Info, as a variable in the code? VC> If you use the configure;make build facilty you can create version, VC> build numbering within and just change the vars in configure.in before VC> running the build script. VC> AS for the info in a program is this for pickup during running or at VC> the build stage. If the later that is simple enough even if you issue a VC> export version-var before running in a script. VC> If the former you will need to check the fpc docs to see if there is a VC> function VC> for it or write your own or again use an exported vars for your program VC> to pick up. VC> I do use the developed program version for displays and the printed VC> reports but VC> the make script does make use of the compiler version sometimes but not VC> often as I am more concerned with the platform. I was able to achieve what I was working on. Gene had posted a link to the info that I was unable to find in my searches. One of the programs I'm working on, will announce new files received by a BBS, by reading the .tic files, which are copied into a seperate directory before processing. As there are a few people using the program, I thought it would be easier for me, to be able to see which version they are running. It helps me to be be able to troubleshoot any issues they might be having. :) I figure I'm not doing too bad, since I've never had any training in Pascal. Everything I've done has been self-taught over the last year. I've been so grateful there are sites like www.freepascal.org... ;) Thanks, --- Black Panther A.K.A. - Dan Richter Sysop - Castle Rock BBS telnet://bbs.castlerockbbs.com http://www.castlerockbbs.com The sparrows are flying again... .... compiled, first screen came up, ship it!!! ___ MultiMail/Linux v0.51 --- Mystic BBS/QWK v1.12 A39 2018/04/21 (Linux/64) * Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3) .