READ

This command READS the data stored in DATA statements. The optional line number will cause the next READ to input from the DATA statement on that line. The RESTORE statement is a more normal way of adjusting the DATA statement pointer.

Program Example.

00100 DATA "Michael", 21, 455.55 
00110 DATA "John",35, 900.78 
00120 FOR I = 1 TO 2 
00130 READ AO$,B,C0 
00140 PRINT AO$;" is ";B;" and earns $";CO;" a week" 
00150 NEXT I
00160 END

Try it

See also DATA