QMedical Command Reference Miscellaneous

QMed_GetVersion

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:

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

QMedical © Escape Information Services
Generated by QDoc 2.7 on Wed, Mar 24, 2004 17:00:39