QD_GetVersion

QD_GetVersion(versionString; productName):error
versionString Text Product version
productName Text Product name
error Longint Error result

Get QDrop version and full product name

The versionString parameter follows the format of 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:=QD_GetVersion ($version;$product)

If ($error#qd_noErr)
   
      // Handle the error
   
End if