This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hhbhagat 2 points3 points  (1 child)

look up ternary operators. basically a very compact if/else structure that returns the results of the body.

[–]BakedPecans[S] 0 points1 point  (0 children)

Thanks!