Always snap to grid

Difference between revisions of "Talk:If statement"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (Mark the UE3 specifics with the small logo?)
m
 
Line 2: Line 2:
  
 
: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. —[[User:Wormbo|Wormbo]] 06:53, 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. —[[User:Wormbo|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. --[[User:Azura|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]]. [[User:00zX|00zX]] 09:20, 18 February 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]]. [[User:00zX|00zX]] 09:20, 18 February 2009 (UTC)

Latest revision as of 05:13, 1 April 2009

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)