QPx_GetVersion
QPx_GetVersion(versionString; versionString):error | |||
---|---|---|---|
![]() |
versionString | Text | QPix version |
![]() |
productName | Text | Product name |
![]() |
error | Longint | Error result |
Get QPix version and full product name
Parameter versionString 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, "B0030200" stands for Beta 3 of version 2.0.
The full product name is returned in productName.
Example
// Get product version and name C_LONGINT($error) C_TEXT($version) C_TEXT($product) $error:=QPx_GetVersion ($version;$product) If ($error#qpx_noErr) // Handle the error End if