EasyManuals Logo

CAB A+ Series User Manual

CAB A+ Series
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #420 background imageLoading...
Page #420 background image
420
420
420cab Produkttechnik GmbH & Co KG
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.
a-Series basic compiler
Example:
Example:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the CAB A+ Series and is the answer not in the manual?

CAB A+ Series Specifications

General IconGeneral
BrandCAB
ModelA+ Series
CategoryLabel Maker
LanguageEnglish

Related product manuals