QMedical Command Reference
Miscellaneous
|
|
| QMed_GetVersion(versionString; productName):error | |||
|
|
versionString | String8 | Plugin version |
|
|
productName | String255 | Product name |
|
|
error | Longint | Error result |
Returns QMedical's current version and full product name.
The versionString parameter follows the same format as the one returned by 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, "B0030100" stands for Beta 3 of version 1.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:=QMed_GetVersion ($version;$product) If ($error#qmed_noErr) `Handle the errorEnd if |