beautypg.com

Casio fx-9750G PLUS User Manual

Page 401

background image

373

Command Reference

20- 11

: (Multi-statement Command)

Function: Connects two statements for sequential execution without stopping.
Description:
1. Unlike the output command (^), statements connected with the multi-

statement command are executed non-stop.

2. The multi-statement command can be used to link two calculation expressions

or two commands.

3. You can also use a carriage return indicated by _ in place of the multi-

statement command.

_

_

_

_

_

(Carriage Return)

Function: Connects two statements for sequential execution without stopping.
Description:
1. Operation of the carriage return is identical to that of the multi-statement

command.

2. Using a carriage return in place of the multi-statement command makes the

displayed program easier to read.

k

k

k

k

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.

Example: If A = 0 _

Then ”A = 0”

_

_

If

:

Then

:

numeric expression

^

^

This manual is related to the following products: