GeoDMSVersion
Miscellaneous functions GeoDmsVersion
GeoDMS offers three functions to request the version number of the running GeoDMS executable. GeoDMS uses semantic versioning, in the format MajorVersion.MinorVersion.PatchNumber. The function GeoDmsVersion() is deprecated; see the section below.
syntax
- GeoDmsMajorVersionNumber()
- GeoDmsMinorVersionNumber()
- GeoDmsPatchNumber()
definition
- GeoDmsMajorVersionNumber() results in a uint32 Parameter with the GeoDMS major version number.
- GeoDmsMinorVersionNumber() results in a uint32 Parameter with the GeoDMS minor version number.
- GeoDmsPatchNumber() results in a uint32 Parameter with the GeoDMS patch number.
since version
9.0.4; GeoDmsVersion() since 5.61
example
GeoDmsMajorVersionNumber(): uint32
GeoDmsMinorVersionNumber(): uint32
GeoDmsPatchNumber(): uint32
parameter<string> versionString := string(GeoDmsMajorVersionNumber())
+'.'+
string(GeoDmsMinorVersionNumber())
+'.'+
string(GeoDmsPatchNumber());
deprecated: GeoDmsVersion()
GeoDmsVersion() is deprecated. It results in a float64 Parameter with the GeoDMS version number, defined as MajorVersion + 0.01 * MinorVersion + 0.0001 * PatchNumber: for version 8.5.1 the result is (the float64 representation of) 8.0501. Use a combination of the three functions above instead, as in the example.