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