Xylem XL-BASIC Programming Guide Manuale Utente Pagina 15

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 21
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 14
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.
Vedere la pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 21

Commenti su questo manuale

Nessun commento