Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-09-17
19:38 • Closed ticket [2116069fff]: tcl::mathfunc::min and max not exported plus 7 o... artifact: 9255cecfbf user: msofer
12:32 • New ticket [2116069fff]. artifact: ec5f3f3a6b user: suchenwi

tcl::mathfunc::min and max not exported

Closed / Fixed2116069fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-09-17 12:32:12
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:38:58
fixed in HEAD and core-8-5-branch
Log in (anonymous is fine) to add a comment.