586022
68
Zoom out
Zoom in
Previous page
1/80
Next page
E-67
Example Lbl 1 : ?
A : A
> 0 S'(A) ^ Goto 1
=, , >, >, <, < (Relational Operators)
Syntax {expression} {relational operator} {expression}
Function These commands evaluate the expressions on either side, and return a value
of true (1) or false (0). These commands are used in combination with the
branching command
S, and when structuring the {conditional expression} of
If statements and While statements.
Example See the entries for
S (page 66), If statement (page 67), and While statement
(page 68).
Note
These commands evaluate the expressions on either side, and return 1 if true and 0 if false,
and store the result in Ans.
A Control Structure Commands/If Statement
g
The If statement is used to control program execution branching according to whether the
expression following If (which is the branching condition) is true or false.
If Statement Precautions
• An If must always be accompanied by a Then. Using an If without a corresponding Then
will result in a Syntax ERROR.
• An expression, Goto command, or Break command can be used for the {expression*}
following Then and Else.
If~Then (~Else) ~IfEnd
Syntax If {conditional expression} : Then {expression*} : Else {expression*} : IfEnd :
{statement} : ...
Function The statements following Then are executed up to Else, and then the
statements following IfEnd are executed when the conditional statement
following If is true. The statements following Else and then the statements
following IfEnd are executed when the conditional statement following If is
false.
Else {expression} may be omitted.
Always include the IfEnd:{statement}. Omitting it will not cause an error,
but certain program contents can cause unexpected execution results by
everything after the If statement.
Example 1 ?
A : If A < 10 : Then 10A
^ Else 9A ^ IfEnd : Ans×1.05
Example 2 ?
A : If A > 0 : Then A × 10
A : IfEnd : Ans×1.05
A Control Structure Commands/For Statement
g
The For statement repeats execution of the statements between For and Next as long as
the value assigned to the control variable is within the specifi ed range.
For Statement Precautions
A For statement must always be accompanied by a Next statement. Using a For without a
corresponding Next will result in a Syntax ERROR.
68


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: English as an attachment in your email.

The manual is 0,65 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 - German - 87 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