Subj : Lazarus and FPC To : Dan Richter From : mark lewis Date : Wed Jun 13 2018 12:54 pm On 2018 Jun 11 19:53:20, you wrote to All: 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? do you mean for something like this?? myProgram DEBUG version 0.7.7.3 [2015/03/29 04:00:54] Compiled with FPC 2.6.4 for OS2 running on i386 i do it with the following code... ----->8 snip 8<----- procedure TMyApplication.WriteVersion; begin writeln; writeln(prog_name + {$IFDEF DEBUG} ' DEBUG' + {$ENDIF} ' version ' + prog_ver + ' [' + {$I %DATE%} + ' ' + {$I %TIME%} + ']'); writeln('Compiled with FPC ' + {$I %FPCVERSION%} + ' for ' + {$I %FPCTARGETOS%} + ' running on ' + {$I %FPCTARGETCPU%}); writeln('Copyright (c) 2011-2014, Quartz Crystal Software'); writeln('All Rights Reserved'); writeln; end; ----->8 snip 8<----- i am not aware of any way to put the Lazarus version in... it isn't as important as the compiler (aka FPC) version... )\/(ark Always Mount a Scratch Monkey Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong... .... Always obey your superiors... if you have any. - Mark Twain --- * Origin: (1:3634/12.73) .