read -- read data from data-statements
The read-statement retrieves literal data, which is stored within data-statements elsewhere in your program.
//*** requires ncurses support compiled in ***
//See Documentation/Advanced for info.
for a=1 to num:read col$(a):next a
print "These are the colours known to yab:\n"
for a=1 to num
print colour(col$(a)) col$(a)
This program prints the names of the colors known to yab in those very colors.
Start this program in a terminal.