DecodeSemanticVersion (open)
Decode a semantic version string
Syntax
LOADLIB "wh::util/semver.whlib";
RECORD FUNCTION DecodeSemanticVersion(STRING version)
Parameters
STRING version
Version string to decode
Return value
RECORD
A non-existing record if the version could not be parsed
VARIANT ARRAY compareparts
A mix of INTEGER and STRING components suitable for direct comparisons