0 Members and 1 Guest are viewing this topic.
10 INPUT"FILENAME";N$20 DLOAD"PRG2"
10 PRINT"YOU MUST WANT ";N$
We are talking about the C128 right? In that case, all you have to do is nothing... I hope that is simple enough! Example PRG110 INPUT"FILENAME";N$20 DLOAD"PRG2"Example PRG210 PRINT"YOU MUST WANT ";N$Of course variables are cleared whenever you use RUN or CLR commands, so don't do that... notice PRG1 uses DLOAD command and not the RUN command.
this technique is referred to as program chaining
Quotethis technique is referred to as program chainingI's also known as "overlay programing".
LOAD"FILENAME",8
LOAD"FILENAME",8,1
At least on the C64 a BASIC program is started with the first line after loading an file with absolute address