TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: RONALD SCHLEGEL
from: WILLIAM JENIFER
date: 1997-05-26 14:45:00
subject: Read/data

-=> Quoting Ronald Schlegel to All <=-
 
 RS> When I have reached the end of the DATA statements, another READ
 RS> statement (of course) crashes the program with a runtime error 4 (Out
 RS> of DATA, A READ Statement ran out of DATA statement values.)
 RS> 
 RS> How can I cause the program to "Restart" at the beginning of the DATA 
 RS> statements when it reaches the end?
 
When you want it to start rereading the DATA statements from the beginning
just use the RESTORE command.
 
William Jenifer
 
... A University without students is like an ointment without a fly.
--- TriBBS #573
---------------
* Origin: Sons Of Glitches BBS * 1-520-751-0229 * (1:300/114)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.