Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tcl::mathfunc::min and max not exported

Closed / Duplicate2116053fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-09-17 12:21:03
From the mathfunc man page, min and max have the same status as other math functions. But they seem not to be on the export list, so [namespace import] doesn't make them available:

/Tcl $ tclsh85
% namespace import tcl::mathfunc::*
% acos -1
3.141592653589793
% min 3 1 2
invalid command name "min"
% max 3 1 2
invalid command name "max"
msoferplain2008-09-17 19:40:17
dup of #2116069
Log in (anonymous is fine) to add a comment.