diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-20 10:15:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-11-20 10:15:59 (GMT) |
commit | bc3e198cba9e40c015a6acfa992c69434274dde6 (patch) | |
tree | 2d9bf6a998ebe64c6b23ed7a7ac327bb9946764e /library/init.tcl | |
parent | b946ce971fbde11b9739fc0b77237ed382e24bd0 (diff) | |
download | tcl-bc3e198cba9e40c015a6acfa992c69434274dde6.zip tcl-bc3e198cba9e40c015a6acfa992c69434274dde6.tar.gz tcl-bc3e198cba9e40c015a6acfa992c69434274dde6.tar.bz2 |
Fix error-message for min/math functions: "to" -> "for", for consistancy with the error-messages for other math functions.
Diffstat (limited to 'library/init.tcl')
-rw-r--r-- | library/init.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl index 87d9f14..13a4300 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -79,7 +79,7 @@ namespace eval tcl { proc min {args} { if {![llength $args]} { return -code error \ - "too few arguments to math function \"min\"" + "too few arguments for math function \"min\"" } set val Inf foreach arg $args { @@ -95,7 +95,7 @@ namespace eval tcl { proc max {args} { if {![llength $args]} { return -code error \ - "too few arguments to math function \"max\"" + "too few arguments for math function \"max\"" } set val -Inf foreach arg $args { |