Quote Originally Posted by Darrel Taylor View Post
As far as I know it already does. (just not all in one word)
Code:
IF Condition then
    Something
else 
    if Condition2 then
        something else
    endif
endif
It's not the same if a multitude of ELSEIF is required ...

Code:
IF Condition then
    Something
else 
    if Condition2 then 'ELSEIF 1
        something else
    endif

   '// Even if ELSEIF 1 is true then we still validate this argument  
   if Condition2 then 'ELSEIF 2
        something else
    endif

   '// Likewise, even if ELSEIF 2 is true then we still validate this argument  
    if Condition3 then 'ELSEIF 3
        something else
    endif
endif
I guess you could have a GOTO in each block to exit out of the nest - but as I said before, true ELSEIF would make a nice addition to PBP.
<hr/>