beautypg.com

Sharp EL-9900 User Manual

Page 218

background image

208

Chapter 13: Programming Features

4 Wait

Wait [

natural number (1 to 255)]

Interrupts execution for the

(natural number) of seconds. If

no value is specified, interrup-

tion continues until any key is

pressed.

• A symbol will flash at the

upper right corner of the screen during the wait.

• This command can be used for displaying intermediate results

or other information.

5 Rem

Rem

comments

Comments start with Rem and extend to the end of the line.

These lines are ignored at execution.

Comments should be entered as notes for future reference,

though it should be noted that they do occupy some memory

space.

6 End

End

Indicates the end of a program.

End is not necessary at the last line of the program.

7 Key

Key

variable

If a numeric key or one of the cursor keys is pressed, the variable

is set to the corresponding numeric value as specified in the

following table.

keys

Numbers

keys

Numbers

keys

Numbers

0

0

5

5

'

10

1

1

6

6

;

11

2

2

7

7

{

12

3

3

8

8

}

13

4

4

9

9

Keys and Corresponding Numbers