package vcompare

package vcompare compares two package versions

See Also

package
package versions
package vsatisfies
Tcl syntax
ycl vcomp command
like [package vcompare], but accepts just about anything as a version string

Synopsis

package vcompare version1 version2

Description

Compares the two version numbers given by version1 and version2. Returns -1 if version1 is an earlier version than version2, 0 if they are equal, and 1 if version1 is later than version2.