miércoles, 24 de abril de 2013

ESTRUCTURAS DE DESICION


Sintaxis para una sola Alternativa (SIMPLES)

If Condicion then
   Sentencia
End if

Sintaxis para dos Alternativas (DOBLES)

If Condicion then
   Sentencia
Else
   Sentencia
End if

Sintaxis para 3 o mas Alternativas (MULTIPLES)

If Condicion then
   Sentecnia
ElseIf Condicion then
   Sentencia
ElseIf Condicion then
  Sentencia
ElseIf Condicion then
  Sentencia
Else
  Sentencia
End if


No hay comentarios:

Publicar un comentario

Translate