Possible Duplicate:
Is there, or is there ever going to be, a conditional operator in Delphi?
I understand Delphi doesnt have the ternary operator as in C#.
i.e. ?:
So how best to represent this function call? Whats the cleanest method out there?
Would be very nice if there is any code out there that can be used INSTEAD of writing a separate function? If not, whats the most efficient and/or cleanest code representation of it?