QGrid
![]() |
![]() ![]() |
QG_GetVersion(versionString; productName):errorCode | |||
![]() |
versionString | String8 | QGrid version |
![]() |
productName | String255 | Product name |
![]() |
error | Longint | Error result |
Returns in versionString a string holding the current version of QGrid as well as the full product name 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($error) C_STRING(8;$version) C_STRING(255;$product) $error:=QG_GetVersion($version;$product) If ($error # qg_noErr) ` Handle the error End if |