Talk:If statement

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search

A description of inline ifs needs to be added ( condition ? dowhentrue() : dowhenfalse(); ) --Azura 03:03, 9 February 2009 (UTC)

That's not an "inline if", that's the conditional operator. It's probably worth mentioning, but it should really be described on the operators page. —Wormbo 06:53, 9 February 2009 (UTC)
You're right. Technically it's a ternary operator since it accepts three arguments. It doesn't seem to be supported in UE1 so I won't be documenting it. --Azura 12:13, 1 April 2009 (UTC)
That is what I was looking for though! The redirect Conditional operator doesnt work either, there should be a page for operators somewhere, surely Legacy:Operator. 00zX 09:20, 18 February 2009 (UTC)
Yes, that link currently redirects to the non-existent page/label Operators#Conditional operator. I'll see if I can write up something useful for it this weekend. —Wormbo 13:56, 18 February 2009 (UTC)
No worries, I did not see the legacy in the recent changes either. It could use a few layout changes to make it cleaner, perhaps just a few extra line breaks.-00zX 06:56, 19 February 2009 (UTC)