a-Series basic compiler
415
This program demonstrates the differences for file handling (a compactflash drive and a hex
editor are useful to see the difference):
Example:
cab Produkttechnik GmbH & Co KG
<ABC>
a$="Hello „+CHR$(DEC(„20AC"))
OPEN 1,"test.dat","w"
PRINT #1 a$
CLOSE 1
OPEN 1,"testu.dat","wu"
PRINT #1 a$
CLOSE 1
OPEN 1,"testb.dat","wb"
PRINT #1 a$
CLOSE 1
</ABC>
415
415