Tcl Library Source Code

View Ticket
Login
Ticket UUID: 516468
Title: Allow lists as arguments to statistics
Type: RFE Version: None
Submitter: mic42 Created on: 2002-02-12 16:15:35
Subsystem: math Assigned To: kennykb
Priority: 1 Zero Severity:
Status: Open Last Modified: 2004-04-19 21:51:19
Resolution: Closed By:
    Closed on:
Description:
The math::min, math::max and others procs in the
misc.tcl file are a bit complex to use if one has lists
of values.

To use you need:
eval math::max [list 1 2 3 4 5 6 7]

The extra complexity of eval is not nice. Perhaps lists
could also be used, or a alternative version
[math::lmax], or so could be done, to provide the
functionality for lists instead of single values.