586022
70
Zoom out
Zoom in
Previous page
1/87
Next page
G-69
Beispiel Siehe Einträge zu
S
(Seite 68), If-Anweisung (Seite 69) und While-
Anweisung (Seite 70).
Hinweis
Diese Befehle bewerten die Ausdrücke auf beiden Seiten, ergeben 1 falls wahr und 0 falls
falsch und speichern das Ergebnis in Ans.
A
Steuerstrukturbefehle/If-Anweisung
g
Die If-Anweisung wird verwendet, um Sprünge bei der Prorammausführung abhängig davon
zu steuern, ob der auf If folgende Ausdruck (Sprungbedingung) wahr oder falsch ist.
Vorsichtsmaßregeln zu If-Anweisung
• Ein If muss stets von einem Then begleitet sein. Wenn ein If ohne ein entsprechendes
Then verwendet wird, ergibt sich ein Syntaxfehler (Syntax ERROR).
• Für den auf Then und Else folgenden {Ausdruck*} kann ein Ausdruck, Goto-Befehl oder
Break-Befehl verwendet werden.
If~Then (~Else) ~IfEnd
Syntax If {bedingter Ausdruck} : Then {Ausdruck*} : Else {Ausdruck*} : IfEnd :
{Anweisung} : ...
Funktion Die auf Then folgenden Anweisungen werden bis Else ausgeführt;
danach werden die auf IfEnd folgenden Anweisungen ausgeführt, falls
die auf If folgende bedingte Anweisung wahr ist. Die auf Else folgenden
Anweisungen und dann die auf IfEnd folgenden Anweisungen werden
ausgeführt, wenn die nach If folgende bedingte Anweisung falsch ist.
Else {Ausdruck} kann ausgelassen werden.
Beziehen Sie stets IfEnd:{Anweisung} ein. Bei Auslassung ergibt sich zwar
kein Fehler, es können aber bestimmte Programminhalte unerwartete Aus-
führungsergebnisse durch etwas ergeben, das nach der If-Anweisung folgt.
Beispiel 1 ?
A : If A < 10 : Then 10A
^
Else 9A
^
IfEnd : Ans×1.05
Beispiel 2 ?
A : If A > 0 : Then A × 10
A : IfEnd : Ans×1.05
A
Steuerstrukturbefehle/For-Anweisung
g
Die For-Anweisung wiederholt die Ausführung der Anweisung zwischen For und Next,
solange der zugewiesene Wert der Steuervariablen im spezifi zierten Bereich liegt.
Vorsichtsmaßregeln zur For-Anweisung
Eine For-Anweisung muss stets von einer Next-Anweisung begleitet sind. Wenn ein For
ohne entsprechendes Next verwendet wird, ergibt dies einen Syntaxfehler (Syntax ERROR).
For~To~Next
Syntax For {Ausdruck (Startwert)}
{Variable (Steuervariable)} To {Ausdruck
(Endwert)} : {Anweisung} : ... {Anweisung} : Next : ....
Funktion Die Ausführung der Anweisungen von For bis Next wird wiederholt, wobei
die Steuervariable, beginnend mit dem Startwert, mit jeder Ausführung um
1 erhöht wird. Wenn der Wert der Steuervariablen den Endwert erreicht,
springt die Ausführung zur nach Next folgenden Anweisung. Wenn hinter
Next keine Anweisung vorhanden ist, stoppt die Ausführung hier.
Beispiel For 1
A To 10 : A
2
B : B
^
Next
70


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Casio fx-50F PLUS at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Casio fx-50F PLUS in the language / languages: German as an attachment in your email.

The manual is 0,66 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Casio fx-50F PLUS

Casio fx-50F PLUS User Manual - English - 80 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info