Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
no obstante, a diferencia de else, ejecutará esa expresión alternativa solamente si la expresión condicional elseif se evalúa como true.
however, unlike else, it will execute that alternative expression only if the elseif conditional expression evaluates to true.
la sentencia elseif se ejecuta sólo si la expresión if precedente y cualquier expresión elseif precedente se evalúan como false, y la expresión elseif actual se evalúa como true.
the elseif statement is only executed if the preceding if expression and any preceding elseif expressions evaluated to false, and the current elseif expression evaluated to true.
para añadir más condiciones, puede hacer clic en la pestaña “elseif+”. esto le proporcionará una nueva pestaña para una nueva condición.
to add more conditions, you can click on the “elseif+” tab. this will present to you a new tab for a new condition.
como else, extiende una sentencia if para ejecutar una sentencia diferente en caso de que la expresión if original se evalúa como false. no obstante, a diferencia de else, ejecutará esa expresión alternativa solamente si la expresión condicional elseif se evalúa como true.
like else, it extends an if statement to execute a different statement in case the original if expression evaluates to false. however, unlike else, it will execute that alternative expression only if the elseif conditional expression evaluates to true.
la instrucción \<emph\>if...then\</emph\> ejecuta bloques de programa cuando se dan ciertas condiciones. cuando $[officename] basic encuentra una instrucción \<emph\>if\</emph\>, la condición se comprueba. si resulta ser cierta, se ejecutan todas las instrucciones posteriores hasta que se encuentre una instrucción \<emph\>else\</emph\> o \<emph\> elseif\</emph\>. si la condición es falsa y a continuación hay una instrucción \<emph\>elseif\</emph\>, $[officename] basic comprueba la condición siguiente y ejecuta las instrucciones siguientes si la condición resulta ser cierta. si resulta falsa el programa continúa con la siguiente instrucción \<emph\>elseif\</emph\> o \<emph\>else\</emph\>. las instrucciones que siguen a \<emph\>else\</emph\> sólo se ejecutan si ninguna de las condiciones comprobadas anteriormente era cierta. cuando se han evaluado todas las condiciones y se han ejecutado las instrucciones correspondientes, el programa continúa con la instrucción que sigue a \<emph\>endif\</emph\>.
the \<emph\>if...then\</emph\> statement executes program blocks depending on given conditions. when $[officename] basic encounters an \<emph\>if\</emph\> statement, the condition is tested. if the condition is true, all subsequent statements up to the next \<emph\>else\</emph\> or \<emph\>elseif\</emph\> statement are executed. if the condition is false, and an \<emph\>elseif\</emph\> statement follows, $[officename] basic tests the next condition and executes the following statements if the condition is true. if false, the program continues either with the next \<emph\>elseif\</emph\> or \<emph\>else\</emph\> statement. statements following \<emph\>else\</emph\> are executed only if none of the previously tested conditions were true. after all conditions are evaluated, and the corresponding statements executed, the program continues with the statement following \<emph\>endif\</emph\>.