A VersionInfo
is a structure that breaks the version string for
kOS down into its component fields as numbers (rather than as
a string) so you can look at them one at a time.
You obtain a VersionInfo
by calling CORE:VERSION
.
Structure¶
- structure VersionInfo¶
¶ Suffix
Type
Get/Set
Description
get only
The “NN” in the version string
vNN.xx.xx.xx
.get only
The “NN” in the version string
vxx.NN.xx.xx
.get only
The “NN” in the version string
vxx.xx.NN.xx
.get only
The “NN” in the version string
vxx.xx.xx.NN
.
- VersionInfo:MAJOR¶
- Access
Get only
- Type
The first number in the version string. i.e. the “NN” in the version string
vNN.xx.xx.xx
.
- VersionInfo:MINOR¶
- Access
Get only
- Type
The second number in the version string. i.e. the “NN” in the version string
vxx.NN.xx.xx
.
- VersionInfo:PATCH¶
- Access
Get only
- Type
The third number in the version string. i.e. the “NN” in the version string
vxx.xx.NN.xx
.