CAB Apollo 1 Manual do Operador Página 239

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 255
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 238
cab Produkttechnik GmbH & Co KG 239
239
[TABLE OF CONTENTS]
[COMMAND LIST][INDEX]
Hermes
Apollo
A-series
This
function is
available
for:
[ESC][i][L][S]
PRODUCT MARKING AND BARCODE IDENTIFICATION
Program to read keyboard codes:
<ABC>
OPEN 1,“/dev/keyboard“,“r“
OPEN WINDOW 120,32
POKE „lcd“,1
DO
DO
x=PEEK(#1)
IF x<>-1 BREAK
LOOP
CLEAR WINDOW
TEXT 0,0,“Last character:“
TEXT 0,16,“$“+hex$(x)+“ = „+chr$(x)
LOOP
CLOSE WINDOW
</ABC>
Program to show readback of JScript-Commands and the FLUSH command:
<ABC>
OPEN 1,“/dev/jscript“,“r“
OPEN 2,“/dev/rs232",“w“
PRINT „qm“
LINE INPUT #1 a$
PRINT #2 a$
CLOSE 2
CLOSE 1
rem FLUSH #0
PRINT „f“
</ABC>
Here is text which would normally trigger protocol error.
It is deleted by FLUSH #0, so the PRINT „f“ can work without problems.
Program to show how to „press“ a key using a program:
; Label does an endless loop which is terminated by pressing
„total Cancel“
<ABC>
x=0
DO
IF x=0 THEN
x=1
POKE „key“,dec(„F090“)
ENDIF
LOOP
</ABC>
no
no
Vista de página 238
1 2 ... 234 235 236 237 238 239 240 241 242 243 244 ... 254 255

Comentários a estes Manuais

Sem comentários