Data statement DATA
If there is insufficient information on this page and you wish learn more about DATA, please send an email to firstname.lastname@example.org. You can help to improve information about DATA by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.
DATA commands are non executable statements that supply a stream of data constants for use by READ commands. All the items supplied by all the DATA commands in a program make up one continuous “string” of information that is accessed in order by your program’s READ commands.
RESTORE MyDataBlock FOR I=1 TO 3 READ v PRINT v NEXT END ... LABEL MyDataBlock DATA 1,2,3