QG_GetVersion

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:

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

QGrid © Escape
Generated by QDoc 2.8 on Thu, Oct 8, 2009 17:36:15