EasyManuals Logo

Casio fx-7400G User Manual

Casio fx-7400G
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #139 background imageLoading...
Page #139 background image
136
Programming Chapter 8
2. Using a carriage return in place of the multi-statement command makes the dis-
played program easier to read.
kk
kk
k Program Commands (COM)
If~Then
Function: The Then-statement is executed only when the If-condition is true (non-
zero).
Syntax:
Parameters: condition, numeric expression
Description:
1. The Then-statement is executed only when the If-condition is true (non-zero).
2. If the condition is false (0), the Then-statement is not executed.
3. An If-condition must always be accompanied by a Then-statement. Omitting the
Then-statement results in an error (Syn ERROR).
Example: If A = 0 _
Then ”A = 0”
If~Then~IfEnd
Function: The Then-statement is executed only when the If-condition is true (non-
zero). The IfEnd-statement is always executed: after the Then-statement is executed
or directly after the If-condition when the If-condition is false (0).
Syntax:
Parameters: condition, numeric expression
Description:
This command is almost identical to If~Then. The only difference is that the IfEnd-
statement is always executed, regardless of whether the If-condition is true (non-
zero) or false (0).
Example: If A = 0 _
Then ”A = 0” _
IfEnd_
”END”
__
If
<condition> : Then <statement> : <statement>
numeric expression
^^
If <condition>
_
:
^
Then <statement>
numeric expression
_
:
^
<statement>
_
:
^
IfEnd

Table of Contents

Other manuals for Casio fx-7400G

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio fx-7400G and is the answer not in the manual?

Casio fx-7400G Specifications

General IconGeneral
Modelfx-7400G
Memory28 KB
Graphing CapabilitiesYes
DisplayMonochrome
ProgrammingYes, BASIC-like language

Related product manuals