Well thats kinda the reason for (?syntax.. Its for returning values..
say you have a text box:
textbox = "state of variable = " + (y > 5?"good":"bad")
So its only for quick return statements is why you use it.
|
Results 1 to 20 of 410
Thread: Optimization TipsThreaded View
|
Click Here to Expand Forum to Full Width |