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:

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