On 09/22/2017 09:14 AM, Busirane wrote:
> I use min and max infrequently enough that, when I do, I always trip over the differing syntax of the expr and mathfunc versions. Why does [expr min()] want commas? Especially since it *allows* whitespace, as long as there's a comma too. It's almost like [expr min()] expects a single string argument, but that's not how it's documented, at least in 8.5.13.
>
Because [expr] has its own mini-language (as do regular expressions) and
the [expr[ mini-language is an infix language and not a prefix one.
In short, it is what it is for historical reasons.
--
+----------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email:
Gerald...@kng-consulting.net |
+----------------------------------------------------------------------+