If et if

cs_chris81 Messages postés 589 Date d'inscription jeudi 2 octobre 2003 Statut Membre Dernière intervention 29 avril 2008 - 3 oct. 2003 à 15:52
cs_Jack Messages postés 14006 Date d'inscription samedi 29 décembre 2001 Statut Modérateur Dernière intervention 28 août 2015 - 5 oct. 2003 à 03:32
comment fait t'on pour mettre deux if l'un apres l'autre sachant qu'il ont le meme else.

2 réponses

BasicInstinct Messages postés 1470 Date d'inscription mardi 5 février 2002 Statut Membre Dernière intervention 20 octobre 2014 12
3 oct. 2003 à 16:07
if Comparaison1 and Comparaison2 then

else

endif

:clown) BasicInstinct :clown)
0
cs_Jack Messages postés 14006 Date d'inscription samedi 29 décembre 2001 Statut Modérateur Dernière intervention 28 août 2015 79
5 oct. 2003 à 03:32
Salut Chris81
Il faut utiliser l'instruction ElseIf :

If Condition1 then

ElseIf Condition2 then

ElseIf Condition3 then

Else
' Ce 'Else' est commun
End If

Vala
Jack
0
Rejoignez-nous