LOAD from within a program
Posted: Sun May 12, 2024 4:02 pm
Hi!
I'm trying to understand why LOAD from within a program works in one instance but not another.
Attached are two TAP files. Each does the same thing: attempts to load the next program from "tape".
When the 2nd program has been saved with an auto start (SAVE "progname" LINE X), the LOAD works.
When the 2nd program has just been saved (SAVE "progname"), BASIC returns a "Nonsense in BASIC" error message.
Perhaps I'm just overthinking this and "Nonsense in BASIC" is returned in both cases but only visible in the 2nd?
Thanks!
David
I'm trying to understand why LOAD from within a program works in one instance but not another.
Attached are two TAP files. Each does the same thing: attempts to load the next program from "tape".
When the 2nd program has been saved with an auto start (SAVE "progname" LINE X), the LOAD works.
When the 2nd program has just been saved (SAVE "progname"), BASIC returns a "Nonsense in BASIC" error message.
Perhaps I'm just overthinking this and "Nonsense in BASIC" is returned in both cases but only visible in the 2nd?
Thanks!
David