Casio ClassPad 300 PLUS Bedienungsanleitung Seite 556

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 753
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 555
20050501
If~Then~ElseIf~Else~IfEnd
Syntaxe 1 : If
<expression>
Then
[<instruction>] …
IfEnd
Fonction 1
•Si l’expression est vraie, l’instruction dans le bloc Then est exécutée. Ensuite, l’exécution
avance à l’instruction qui suit IfEnd.
•Si l’expression est fausse, l’exécution avance à l’instruction qui suit IfEnd sans exécuter
l’instruction dans le bloc Then.
Syntaxe 2 : If
<expression>
Then
[<instruction>] …
Else
[<instruction>] …
IfEnd
Fonction 2
•Si l’expression est vraie, l’instruction dans le bloc Then est exécutée. Ensuite, l’exécution
avance à l’instruction qui suit IfEnd.
•Si l’expression est fausse, l’instruction dans le bloc Else est exécutée au lieu du bloc Then.
Ensuite, l’exécution avance à l’instruction qui suit IfEnd.
Syntaxe 3 : If
<expression>
Then
[<instruction>]…
ElseIf
<expression>
Then
[<instruction>] …
IfEnd
Fonction 3
•Si l’expression est vraie, l’instruction dans le bloc If Then est exécutée. Ensuite, l’exécution
avance à l’instruction qui suit IfEnd.
•Si l’expression de la commande If est fausse, l’expression de la commande Elself est
testée. Si elle est vraie, l’instruction dans le bloc Elself Then est exécutée. Ensuite,
l’exécution avance à la nouvelle instruction qui suit IfEnd. Si elle est fausse, l’exécution
avance à l’instruction qui suit IfEnd.
12-6-11
Commandes de programmation
}
Then <bloc>
}
Then <bloc>
}
Else <bloc>
}
If Then <bloc>
}
ElseIf Then <bloc>
Seitenansicht 555
1 2 ... 551 552 553 554 555 556 557 558 559 560 561 ... 752 753

Kommentare zu diesen Handbüchern

Keine Kommentare