QG_GetVersion

QG_GetVersion(versionString; productName):errorCode
versionString Text QGrid version
productName Text Product name
error Longint Error result

Get QGrid version and product information

Parameter versionString holds the version number, while the full product name is returned in productName.

The versionString parameter follows the same format as the one returned by 4D’s Application Version command:

CharactersDescription
1F = final, B = beta, A = alpha, D = development
2-3-4Internal number
5-6Version number
7Update number
8Revision number

For example, the string "B0030110" stands for the Beta 3 of version 1.1.

Example

   // Get product version and name

C_LONGINT($err)
C_TEXT($version)
C_TEXT($product)

$err:=QG_GetVersion ($version;$product)
ASSERT($err=qg_noErr)