To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
HTBasic Example Programs
restore EXAMPLE
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
restore Example
DIM Array(4)
Here: DATA 1, 2, 3, 4, 5
RESTORE !RESTORE moves the pointer back to the beginning of the DATA.
CLEAR SCREEN
FOR Loop=1 TO 3
READ Array(*)
RESTORE Here
PRINT "The array: "
PRINT Array(*)
NEXT Loop
END