HTBasic Help
×
Menu
Index

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