getVersion()

Returns the application version set by gwabuildtool --app-version.

Syntax

getVersion()RETURNS STRING

Returns the application version.

Usage

Use the getVersion() method to return the version set in gwabuildtool with the --app-version option. If this option was not set, it returns NULL.

For a complete example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/gwa/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/gwa/update.