Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-11-01
03:27 • Ticket [2889593fff] expr round() - wrong err msg with no args status still C... artifact: a90e7c39b5 user: dkf
03:26 • Closed ticket [2889593fff]. artifact: a6d11c1b99 user: dkf
2009-10-30
17:52 • New ticket [2889593fff]. artifact: b50b055eca user: pointsman

expr round() - wrong err msg with no args

Closed / Fixed2889593fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-10-30 17:52:44
expr {round()}

==> too many arguments for math function "round"

(same, of course, with [tcl::mathfunc::round])

The text of the error msg is obviously wrong: lesser than non args are hardly possible.

This is with tcl cvs head. 8.5.2 has the same behaviour. 8.4.16 has the better error msg: too few arguments for math function
dkfplain2009-11-01 03:26:40
allow_comments - 1
dkf Ticket [2889593fff]: 1 change [History diff]2009-11-01 03:27:15
Log in (anonymous is fine) to add a comment.