Sharp EL-5230 Operation Manual page 94

Programmable scientific calculator
Table of Contents

Advertisement

Chapter 8: Application Examples
Program code
Y¬OCT
Print"OCTAL
Print Y
Wait
Y¬HEX
Print"HEXADECIMAL
Print Y
Running the program
Press j to return to the PROG mode menu.
4.
Press 0, select the program 'NBASE' and press e.
5.
• The program prompts you to enter a decimal number and then displays
it in binary format.
• Press any key to display the number in pental format, then press any
key to see it in octal format, and again press any key to see it in
hexadecimal format.
• Be careful when using the Wait command in NBASE program mode.
Numbers followed by Wait are processed according to the current
number base, binary, pental, octal, decimal or hexadecimal.
To specify the wait time in decimal format, define a variable (e.g., T = 5)
for the wait time beforehand and use it in the Wait command (i.e., Wait
T).
92
Key operations
; Y @ g e
i 1 @ a OCTAL ;
e
i 0 ; Y e
i 3 e
; Y @ h e
i 1 @ a HEXADECIMAL
; e
i 0 ; Y e

Advertisement

Table of Contents
loading

This manual is also suitable for:

El-5250

Table of Contents