Question: What is wrong with my nested if statement?

Please excuse my thickness if any.

In the following IF statement:

if 1 <> 2 then
    OuterThen;
    if 1 <> 2 then
        InnerThen;
    else
        InnerElse;
    end if;    
else
    OuterElse;
end if;

I expect the output:

OuterThen
InnerThen

but I only get:

OuterThen

Why?

Please Wait...