Menu

#590 RESTORE only works for the last label before the DATA

open
v1ctor
compiler (247)
2012-10-09
2012-03-05
Matthew
No

dim as string s, t

lbl1:
lbl2:

data 1, 2

restore lbl1: read s, t: print s, t '' nothing
restore lbl2: read s, t: print s, t '' 1, 2

"restore lbl1" should do the same as "restore lbl2" because they both precede the same data, but no data is found after lbl1: presumably it is blocked somehow by lbl2.

Initial report in: www.freebasic.net/forum/viewtopic.php?t=19538

Discussion


Log in to post a comment.

MongoDB Logo MongoDB