# ELSEIF Clauses > [HTML Version](elseifclauses.htm) __ Beginning with A-Shell build 1125 of September 2008, one or more _elseif_ clauses may be inserted into an extended _if/elseif/else/endif_ statement (in /RC or /X:2 modes), e.g.: **IF THEN** ELSEIF THEN ELSEIF THEN ELSE **ENDIF** Previously, to accomplish the same thing you would have had to use nested _if/else/endif_ clauses, e.g.: IF THEN ELSE IF THEN ELSE IF then ELSE ENDIF ENDIF ENDIF The _elseif_ version is mainly just cleaner and easier to follow.