If Condición then
Sentencia
End If
Cuando hay 2 alternativas la sintaxis es:
If Condición then
Sentencia
Else
Sentencia
End If
Cuando hay 3 o más alternativas la sintaxis es:
If Condición then
Sentencia
ElseIf Condicion then
Sentencia
ElseIf Condición then
Sentencia
ElseIf Condición then
Sentencia
Else
Sentencia
End If
No hay comentarios:
Publicar un comentario