LoginLogin

Multi-slot question

Root / Programming Questions / [.]

MinxrodCreated:
Since slots operate in isolation, the DATA statement can't ever come AFTER the READ unless its in the same slot.
I have structured my program to where lots of DATA is declared, then some FOR loops READ the data to an array. You said DATA can't come after READ for what I'm doing, but I was wondering if READ can't come after DATA for what I'm doing. Edit: I take way too long commenting. Lemme read some of what you guys just said.

Since slots operate in isolation, the DATA statement can't ever come AFTER the READ unless its in the same slot.
I have structured my program to where lots of DATA is declared, then some FOR loops READ the data to an array. You said DATA can't come after READ for what I'm doing, but I was wondering if READ can't come after DATA for what I'm doing. Edit: I take way too long commenting. Lemme read some of what you guys just said.
I was talking about the wrong flavor of BASIC. My bad.

Ok, so I had no clue what RESTORE even was up to this point. Pretty sad, huh? However, it seems to be doing exactly what I needed, so thank you kldck_hul and Mariominer for your help!