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:
Characters | Description |
1 | F = final, B = beta, A = alpha, D = development |
2-3-4 | Internal number |
5-6 | Version number |
7 | Update number |
8 | Revision 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)