Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if else if [Unreal 227h]
#1
Code:
if (bah == hab)
{
    DoStuff;
} else if (bah > hab)
{
    DoOtherStuff;
}

Decompiles to:

Code:
if (bah == hab)
{
    DoStuff;
} else
{
    if (bah > hab)
    {
        DoOtherStuff;
    }
}

It produces the same function (and maybe compiles down to the same thing) but it's really annoying when you have a lot of if elses in a row.
Reply


Messages In This Thread
if else if [Unreal 227h] - by titegtnodI - 04-09-2012, 01:50 PM
RE: if else if [Unreal 227h] - by eliot - 04-10-2012, 01:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)