[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: if-else
- From: cynthia powers <powcyn@...>
- Date: Mon, 12 Apr 2010 16:55:21 -0400
Hi,
What's the easiest translation to convert the following c to lua? or do I have to make this into a if-else block.
x = ((vXSTX > vXSX) || (vXSTX > vXSY)) ? (vXSX + vXSTX) : vXSX;
Thanks
Cynthia