QPx_GetVersion

QPx_GetVersion(versionString; productName):error
versionString String8 QPix version
productName String255 Product name
error Longint Error result

Returns QPix's current version and full product name.

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, "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_STRING( 8;$version)
C_STRING( 255;$product)
 
$error:=QPx_GetVersion ($version;$product)
 
If ($error#qpx_noErr)
   `Handle the error
End if

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:46:04