This function produces a string that represents the current version of the Sphere engine that the player is using.
// Display "v1.5" var font = GetSystemFont(); font.drawText(0, 0, "\"" + GetVersionString() + "\""); FlipScreen(); GetKey();
This function is more useful for display purposes, rather than checking and comparing versions of the Sphere engine. If you wish to compare the numeric version of Sphere, consider GetVersion().
GetVersionString() exists because future releases of Sphere may introduce non-numeric characters into the version. Note the addition of the leading 'v' character to the version number above.