Forum
Multiple Entry Points - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Wishlist (https://www.boriel.com/forum/forumdisplay.php?fid=14)
+---- Thread: Multiple Entry Points (/showthread.php?tid=119)



Multiple Entry Points - LCD - 06-26-2009

HiSoft Basic offers this: You can define multiple entry points for the code using REM : #OPEN at every line, where a entry point is possible, then at compilation time it displays for every entry point the USR Adress.


Re: Multiple Entry Points - boriel - 07-07-2009

LCD Wrote:HiSoft Basic offers this: You can define multiple entry points for the code using REM : #OPEN at every line, where a entry point is possible, then at compilation time it displays for every entry point the USR Adress.
Hi (I'm back!) Tongue

Well, you can already do that with labels.
When I end up the memory-map output, you can do this:
Code:
:entry1
<basic instructions>
:entry2
<basic instructions>
...
After compilation, it will print entry1 and entry2 mem address so you can RAND USR them.


Re: Multiple Entry Points - LCD - 07-08-2009

Thank you very much. This are good news (also that you are back...). Smile