You can get pretty close :  SMAX = IF S1 > S2  THEN S1 ELSE S2

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of David A.
Green
Sent: Friday, January 13, 2012 3:32 PM
To: 'U2 Users List'
Subject: Re: [U2] Brilliant? or not?

Are you trying to emulate C?

SMAX = (S1 > S2) ? S1 : S2;

David A. Green
(480) 813-1725
DAG Consulting

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: Friday, January 13, 2012 10:42 AM
To: [email protected]
Subject: [U2] Brilliant? or not?


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

Reply via email to