tcl::mathop::lt

tcl::mathop::lt ?arg ...?

The string order operators of Tcl 9.1: lt, gt, le, and ge. In expr they compare two values as strings, with the precedence of <. As a command, each one gives 1 when each pair of neighbor arguments is in the order.

This page also has tcl::mathop::gt, tcl::mathop::le, tcl::mathop::ge.

Examples

Facts