Changes

Talk:CPC Basic

12 bytes added, 10:42, 25 July 2010
/* Lets give this Compiler a Go! */
'''DEFBYTE n
 
DIM w(5)
 
RESTORE myinf
 
FOR n = 1 to 5
 
READ w$(n)
 
PRINT w$(n)
 
next
 
end
 
myinf DATA "Hello"'''
'''DEFSTR n
 
name="Hello"
 PRINT name'''''
which comes from the horses mouth! :o
423
edits