Revision
Returns the revision component of the project version, as configured in the project settings. Read-only.
Syntax: object.Revision
- object
- required An object expression that evaluates to an _App object. In practice this is the global App object.
Revision returns the third component of the four-part version number (Major.Minor.Revision.Build) as set in the twinBASIC project settings. Together with Major, Minor, and Build, it allows the running code to inspect its own version at runtime.
Example
This example prints the full version string to the debug console.
Debug.Print "Version: " & App.Major & "." & App.Minor & "." & App.Revision & "." & App.Build