On Wed, 11 Jun 2008 19:07:19 -0500, you wrote:
>I'm starting the design for Take Command v10. If you have any suggestions for TCMD or TCC, please submit them to the "Take Command and TCC / Suggestions" forum.
Functions min() and max() inside @eval (with nested evaluation).
so that one could
@eval[a+min(b+c,d,e)]
instead of
@eval[a+%@min[%@eval[a+b],d,e]]
and
set /a z=a+min(b+c,d,e)
I could have used that recently. Other candidates for implementation by @EVAL
are
abs(), ceil(), flr()
maybe even a version of conditional expressions, perhaps
@eval[a+if(b+c GE d+e,f+g,h+i)]
(using @IF would require four more @EVALs)
and
set /a z=a+if(b+c GE d+e,f+g,h+i)
--
- Vince