Sharp EL-5230 Operation Manual page 80

Programmable scientific calculator
Table of Contents

Advertisement

Chapter 7: Programming
2.
Entering the program
Program code
Print"B≥=BASE
Print"H≥=HEIGHT
A=1ı2B≥H≥
Print"AREA
Print A
• To enter more than one alphabetic character, press @ a to apply
the alphabet-lock mode. Press ; to escape from this mode.
3.
Running the program
Procedure
Return to the initial display
for the PROG mode.
Select and RUN the program.
Enter 4 for B
1
Enter 3 for H
1
• If the value of a local variable you defined using @ v is unknown,
the program automatically prompts you to input a value.
• To quit running the program, press j. To run the program again, press
e.
• When a program is running, text displayed by the program (using the Print"
command) will wrap to the next line if the text length exceeds the display
width.
• You can only enter one command per line except for special cases such as
the 'If...Goto' structure.
• For more programming examples, see Chapter 8: Application Examples.
78
Key operations
i 1 @ v
a =
BASE
i 1 @ v d
@ a =
; A ; =
e @ v d e e
i 1 @ a
i 0 ;
Key operations
j
0 (Select the program.)
e
4 e
3 e
e e @
B1
; e
e e
H1
; e
HEIGHT
k
1
2
; e
AREA
e
A
Display
RUN ¬º ⁄AREA
AREA
A=
@ v
6.

Advertisement

Table of Contents
loading

This manual is also suitable for:

El-5250

Table of Contents