Chapter 7: Programming

Flow control

Command

Key

Description

Examples

operations

Label

i 6

Indicates a destination point for

Label LOOP1

<label name>

 

the flow statements Goto and

Label LOOP2

 

 

Gosub. Up to seven letters can

 

 

 

be used for the label name.

 

 

 

Each label name must be

 

 

 

unique. You cannot use the

 

 

 

same label name more than

 

 

 

once in a program. Up to 20

 

 

 

different labels can be used in

 

 

 

each program.

 

 

 

 

 

Clrt

i 7

Clear the text displayed on the

Clrt

 

 

screen.

 

 

 

 

 

If

i 8

The If clause must be followed

If B≥=1 Goto

<condition>

 

by a conditional statement and

LOOP1

Goto

i 9

then a Goto command. Goto is

 

<label name>

 

the only command allowed to

 

 

 

be used after the If clause. You

 

 

 

can enter ; s before

 

 

 

the Goto command to make the

 

 

 

line easier to read.

 

 

 

 

 

Goto

i 9

Causes the program to jump to

Goto LOOP2

<label name>

 

the stated Label (specified by a

 

 

 

Label command). A Goto

 

 

 

statement must have a

 

 

 

corresponding Label statement

 

 

 

line that indicates where to go.

 

 

 

 

 

Gosub

i A

Runs the subroutine beginning

Gosub PART1

<label name>

 

at the stated Label (specified by

 

 

 

a Label command). A Gosub

 

 

 

statement must have a

 

 

 

corresponding subroutine that

 

 

 

starts after the Label statement

 

 

 

and ends with a Return

 

 

 

command. Subroutines can be

 

 

 

nested up to ten levels deep.

 

 

 

 

 

Return

i B

Defines the end of a subroutine.

Return

 

 

Operation returns to the

 

 

 

command following the

 

 

 

corresponding Gosub

 

 

 

statement.

 

 

 

 

 

81

Page 83
Image 83
Sharp EL-5230, EL-5250 operation manual Flow control

EL-5230, EL-5250 specifications

The Sharp EL-5250 and EL-5230 are advanced scientific calculators that cater to students, professionals, and anyone in need of a reliable tool for complex calculations. Both models are designed with a blend of functionality, portability, and user-friendliness, making them excellent choices for math and engineering tasks.

The Sharp EL-5250 is equipped with a wide range of features ideal for higher-level calculations. It supports over 500 functions, including trigonometric, exponential, logarithmic, and statistical computations. The calculator also includes built-in memory functions, allowing users to store and recall values effortlessly. The large, easy-to-read LCD display can present multiple lines of data simultaneously, enhancing clarity and reducing the need for repetitive calculations.

On the other hand, the EL-5230, while slightly less advanced, still offers a robust set of functions. This model is particularly well-suited for students in high school or early college, providing essential functionalities for algebra, geometry, and basic statistics. Its 240 functions cover a variety of mathematical disciplines, making it a versatile option for different educational needs.

Both calculators feature Sharp's unique "MathPrint" technology, which is a standout characteristic allowing users to view fractions, square roots, and other expressions in a format more akin to traditional textbook layouts. This technology greatly enhances comprehension and usability, particularly for visual learners.

The calculators are powered by dual power sources, utilizing both solar and battery power, ensuring reliability in diverse environments. The compact and lightweight design of the EL-5250 and EL-5230 makes them highly portable. Users can easily carry them in a backpack or briefcase without added bulk.

Durability is another aspect where Sharp excels. The calculators are built to withstand regular use, featuring a sturdy exterior. Additionally, Sharp provides a protective cover that helps prevent damage during transport, making these calculators a long-term investment for users.

In summary, both the Sharp EL-5250 and EL-5230 deliver exceptional performance with their extensive features and advanced technology. They are perfect for those who require reliable and efficient tools for various mathematical tasks, whether in education or professional settings. With their user-friendly designs and durability, these calculators continue to be reliable companions for anyone working with numbers.