A version number is a string which contains nonnegative integers separated by non-numeric characters. Examples of valid version numbers are for example:
"1.0" "3.141.59" "2-7-8.3" "5 release 2 patchlevel 666"
Version numbers are interpreted as lists of integers and are compared in
that way. Thus version "2-3" is larger than version "2-2-5" but smaller
than "11.0".
It is possible for code to require share packages in certain versions. In this case, all versions, whose number is equal or larger than the requested number are acceptable. It is the task of the package author to provide upwards compatibility.
The global variable VERSION contains the version number of the version of
GAP and also can be checked against (using CompareVersionNumbers, see
CompareVersionNumbers in the Reference Manual).
[Top] [Previous] [Up] [Next] [Index]
GAP 4 manual