>From the perspective of writing scenario-proof code...I live in a world of
>case statements...
Begin case
Case s1 > s2 ; sMax = s1
Case 1 ; sMax = s2
End case
--Bill
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mecki Foerthmann
Sent: Friday, January 13, 2012 12:52 PM
To: [email protected]
Subject: Re: [U2] Brilliant? or not?
What's wrong with IF S1 > S2 THEN SMAX = S1 ELSE SMAX = S2?
Definitely more readable!
If it was hard to write then it should be hard to read, I guess.
On 13/01/2012 17:41, Wjhonson wrote:
> SMAX = (S1> S2) * S1 + (S2>= S1) * S2
>
> ?
>
>
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users