Sharp EL-5230 User Manual Page 90

  • Download
  • Add to my manuals
  • Print
  • Page
    / 132
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 89
88
Program code Key operations
If T=1 Goto CTOF i 8 ; T ; = 1 ;
s i 9 @ a CTOF
; e
If T=2 Goto FTOC i 8 ; T ; = 2 ;
s i 9 @ a FTOC
; e
Goto START i 9 @ a START ;
e
Label CTOF i 6 @ a CTOF ;
e
F=(9©5)C≠+32 ; F ; = ( 9 z 5
) @ v C0 e e +
32 e
Print F i 0 ; F e
End i 5 e
Label FTOC i 6 @ a FTOC ;
e
C=(5©9)˚(F≠-32) ; C ; = ( 5 z 9
) k ( @ v d F0
e e - 32 ) e
Print C i 0 ; C e
End i 5 e
Running the program
4. Press j to return to the PROG mode
menu.
5. Press 0, select the program ‘TEMP’
and press e.
The program prompts you to choose which
conversion you wish to perform. Then it asks you to enter the tempera-
ture value.
PROGRAM MODE
ƒRUN ⁄NEW
¤EDIT ‹DEL
Chapter 8: Application Examples
* The program automatically
prompts you to enter a value for
the local variable C
0.
* The program automatically
prompts you to enter a value for
the local variable F
0.
Page view 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 131 132

Comments to this Manuals

No comments