EasyManua.ls Logo

CAB A+ Series - Page 416

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
Loading...
416
416
416cab Produkttechnik GmbH & Co KG
This program does also writing using files but on the RS-232:
<ABC>
a$=“Hello „+CHR$(DEC(„20AC“))
OPEN 1,“/DEV/RS232:57600,RTS/CTS“,“w“
PRINT #1 a$,chr$(13);
FOR i=1 TO 10
PRINT #1 i,chr$(13);
NEXT i
CLOSE 1
</ABC>
This demonstrates the file path and name handling of abc (it is necessary to have test.dat on
the card, e.g. from the last demo program):
<ABC>
PRINT „a“
PRINT „; test.dat: „,exists(„test.dat“)
PRINT „; test.dat: „,exists(„TEST.DAT“)
PRINT „; test.dat: „,exists(„/card/misc/test.dat“)
PRINT „; test.dat: „,exists(„/CARD/TEST.dat“)
PRINT „; test2.dat: „,exists(„test2.dat“)
</ABC>
a-Series basic compiler
Example:
Example:

Table of Contents

Related product manuals