PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Versioning/compile-interation of the application.  (Read 420 times)

xstreur

  • FireFly3 User
  • Little Newbie FireFly
  • *
  • Posts: 7
  • Windows 7/Linux (CentOS 7)
    • XS4IT/Frans Streur
Versioning/compile-interation of the application.
« on: February 23, 2017, 08:25:57 AM »

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.
Logged
Cheers
Frans (X.I.E.M.) Streur
--------------------------------------------
Windows 7 SP1
Freebasic 1.05
FireFly 3.78

Ian Vincent

  • FireFly3 Registered User
  • Little Newbie FireFly
  • *
  • Posts: 25
  • FF3 User
Re: Versioning/compile-interation of the application.
« Reply #1 on: February 23, 2017, 10:12:31 AM »

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
Logged