Sprint compiling...the next frontier?
Posted: Mon Aug 06, 2012 7:10 am
Hi. Can I Sprint compile a [Basic program that alters its lines while it is running]?
My Sprint compilations are working nicely. But the Basic programs & copiled programs were quite long.
Then I shortened the (NON-compiled) Basic programs the same way as in Advanced Sound & Graphics (BEYOND BASIC chapter) poking the end of my Basic programs – this helps to drastically shorten my programs’ length and save memory [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc].
Compiling & shortening Basic programs works beautifully individually. So obviously I then tried to create a ‘super’ little fast Basic compiled program....... I am having problems when I try to Sprint compile a Basic program that I have shortened with the [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc] system.
The shortened-compiled program does EXECute, but only the parts the Basic program that were NOT part of the [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc] set-up works. The rest just create a bunch of dots on the screen.
Does this mean that shortening a Basic program [BEYOND BASIC style] and then Sprint compiling that shortened program is not an EXECutable mix?
My Sprint compilations are working nicely. But the Basic programs & copiled programs were quite long.
Then I shortened the (NON-compiled) Basic programs the same way as in Advanced Sound & Graphics (BEYOND BASIC chapter) poking the end of my Basic programs – this helps to drastically shorten my programs’ length and save memory [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc].
Compiling & shortening Basic programs works beautifully individually. So obviously I then tried to create a ‘super’ little fast Basic compiled program....... I am having problems when I try to Sprint compile a Basic program that I have shortened with the [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc] system.
The shortened-compiled program does EXECute, but only the parts the Basic program that were NOT part of the [10 EN=PEEK(27)*256+PEEK(28) ... 30 POKE EN-9,68.... etc] set-up works. The rest just create a bunch of dots on the screen.
Does this mean that shortening a Basic program [BEYOND BASIC style] and then Sprint compiling that shortened program is not an EXECutable mix?