On Jan 28, 2007, at 9:44 AM, David Grogono wrote:

On Jan 27, 2007, at 8:25 PM, Norman Palardy wrote:

the min is

min(min(min(min(min(min(min(min(min(min(Val(Days1.text), (Val (Days2.text)), Val(Days3.text)), Val(Days4.text)), Val (Days5.text)), Val(Days6.text)), Val(Days7.text)), Val (Days8.text)), Val(Days9.text)), Val(Days10.text)), Val (Days11.text)))

Since Min can take more that 2 parameters, this would be easier to read:

min( Val(Days1.text), Val(Days2.text), Val(Days3.text), Val (Days4.text), Val(Days5.text), Val(Days6.text), Val(Days7.text), Val (Days8.text), Val(Days9.text), Val(Days10.text), Val(Days11.text) )

Wasn't sure which version he's using
In 5.5.5 min takes 2 arguments. In 2005 and newer it can take multiple arguments.

Using it in the manner David's suggesting is better than tons of min () calls IF you're using a version that supports the multi argument min

Of course the other works in every version it just looks nasty :)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to