
XL™ SERIES XL-BASIC Programming Guide 23-15
The following table lists the values that will be returned for the different
key presses.
KEY VALUE KEY VALUE
Right 1.0 Up 10.0
Enter 2.0 Left 20.0
Down 4.0 Cancel 40.0
Dot 8.0 On / Off 80.0
Example: dispopen
dispclear
display “If Raining Press ENT“
x = inkey
if x=2.0 then goto 100
dispoff
end
100
digits(0)
openfile “B:\SERVICE.LOG”
writefile “Date “;date,
writefile “ Time ”;time,
writefile “ Currently raining”
closefile
dispoff
end
LEDON Turn on the Error LED. Note the led will not turn on if the display is not
turned on.
LEDOFF Turn off the Error LED.
Kommentare zu diesen Handbüchern