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
Generated by QDoc 2.8 on Wed, Jan 27, 2010 17:55:37