Is there a global variable for the project version number?

I want to put the project version number in the application header. I tried inserting a variable [version] but it seems to have an older version number instead of the current one. So, I assume that I don’t have the correct global or it doesn’t get updated.

Any insight on this?

Try this:


  $this->Ini->nm_app_version

Hello,

Try to use this variable: $this->Ini->nm_app_version

When I try this I get the following error: [TABLE=“class: scErrorTable, cellpadding: 0, cellspacing: 0, width: 1, height: 30”]
[TR]
[TD=“class: scErrorTitle, align: left”]Error[/TD]
[/TR]
[TR]
[TD=“class: scErrorMessage, align: center”]Undefined property: main_menu_class::$nm_app_version[/TD]
[/TR]
[/TABLE]

Place the code in OnScriptInit Event of the application.