[Gambas-user] programmatically retrieve a Gambas project version number

Bruce adamnt42 at gmail.com
Mon Jan 27 09:25:24 CET 2020



On 27/1/20 6:48 pm, KKing wrote:
> 
> apologies if this is in wiki/doco somewhere but I didn't find.
> 
> I want to print the project version number in a log file (along with 
> date and time and error code and message) how do I programmatically 
> retrieve a Gambas project version number?
> 
> Also will this vary depending upon if the tick box "Get from 'VERSION' 
> file" is ticked in  --> Project properties --> Version?
> 
> K
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

Application.Version is what you are after.
As to what happens if Get from.. is checked I have no idea, but I'd 
doubt it would affect it.
b


More information about the User mailing list