Sharp EL-5230 User Manual

Page 84

Advertising
background image

82

Equalities and inequalities

These expressions are used to form the conditional statement in the If
clause. They are the basis for looping and other flow control operation in
programs.

The ‘=’ (equals) sign is also used as a function to form a substitution
command for variables.

You can also enter ‘=’ by simply pressing ; =.

Symbols

i

C

If B=0 Goto ZERO

=

Equals. This function is also
used to form a substitution
command that assigns a
new value to a variable,
including incrementing or
decrementing.

If B<0 Goto NGTV

i

D

Less than

<

If B>=0 Goto RECALC

i

F

Greater than or equal to.

>=

If B≥>0 Goto PSTV

i

G

Greater than

>

If A ≠ B Goto DIF

i

H

Not equal to.

If B≥<=0 Goto CALC

i

E

Less than or equal to.

<=

A=A+1

Description

Key

operations

Examples

Chapter 7: Programming

Advertising
This manual is related to the following products: