### QD_GetVersion

QD_GetVersion(versionString; versionString):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:

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:=QD_GetVersion ($version;$product)

    If ($error#qd_noErr)

          // Handle the error

    End if