EasyManua.ls Logo

CAB A+ Series - Page 413

CAB A+ Series
484 pages
Print Icon
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...
413
413
413cab Produkttechnik GmbH & Co KG
Small program to show READ,DATA and RESTORE. Use ASCII dump mode to show what
happens:
a
<ABC>
restore names
read maxnum
dim names$(maxnum)
for a=1 to maxnum:read names$(a):next a
for number=0 to 10
if (number>=1 and number<=maxnum) then
print „; „,number,“=“,names$(number)
else
print „; Sorry, can’t convert „,number
endif
next number
error „Program finished“
label names
data 9,“one“,“two“,“three“,“four“,“five“,“six“
data „seven“,“eight“,“nine“
</ABC>
Example:
a-Series basic compiler

Table of Contents

Related product manuals