Updated 2013-11-06 02:00:14 by pooryorick

package vcompare compares two package versions

See Also  edit

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

Synopsis  edit

package vcompare version1 version2

Description  edit

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.