LTee wrote:Sorry for being a pest, boriel, but I still can't get this working if I use the -Z option.
If I try to compile the following with 2098:
Never a pest, LTee. In fact, that's what's made the compiler the good tool (I think) it's today!
Thanks a lot for your work
LTee wrote:using the command line:
zxb attrtest.bas -T -B -a -Z
I still get this:
attrtest.bas:1: Undeclared function "ATTR"
However, point 5 above (#including attr.bas) DOES work if I leave the -Z option off! I only get the fail message if I include -Z.
When you use -Z, the compiler must include attr.bas automatically. It isn't doing it. I guess this is due to the major changes introduced in 1.2.7. Will look into it...
From 1.2.6 onwards, every release includes a major change. This way I hope to converge to 2.0 (Multiarchitecture, object oriented programming, user defined types, pointers, dyamic arrays and so on ). I think this is a good approach (step by step, or kaizen), instead of rewritting from scratch.