![]() |
|
Definition of macros in the compiler - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Wishlist (https://forum.boriel.com/forumdisplay.php?fid=14) +---- Thread: Definition of macros in the compiler (/showthread.php?tid=516) |
Definition of macros in the compiler - wilco2009 - 2012-12-19 Could be a good idea to add the possibility to define macros in the same way than C "define" directive. That's one of the things I miss when I'm programming in ZXBasic Re: Definition of macros in the compiler - boriel - 2012-12-19 wilco2009 Wrote:Could be a good idea to add the possibility to define macros in the same way than C "define" directive.This is already implemented. ZX BAsic uses #define the same way C does. E.g. have a look to library/retrace.bas source code. Re: Definition of macros in the compiler - wilco2009 - 2012-12-20 Great notice. I will try it now |