• Welcome to PlanetSquires Forums.
 

Versioning/compile-interation of the application.

Started by xstreur, February 23, 2017, 08:25:57 AM

Previous topic - Next topic

xstreur

I'd like to incorporate the version number (FF generates every iteration when I compile the program) into on of my screen.
How do I get this version into a string?

Thanks for the help.
Cheers
Frans (X.I.E.M.) Streur
--------------------------------------------
Windows 7 SP1
Freebasic 1.05
FireFly 3.78

Ian Vincent

Have a look at the App Variable (under special functions in help)



I often do something like this:
FF_StatusBar_SetText( HWND_FORM1_STATUSBAR, 0, "Build : "+Format$(app.FileMajor)+"."+Format$(app.FileMinor)+"."+Format$(app.FileRevision)+"."+Format$(app.FileBuild))


Ian