02-22-2011, 10:13 AM
LTee Wrote:Sorry for being a pest, boriel, but I still can't get this working if I use the -Z option.Never a pest, LTee. In fact, that's what's made the compiler the good tool (I think) it's today!
If I try to compile the following with 2098:
Code:PRINT ATTR(0,0)
Thanks a lot for your work :!: :wink:
LTee Wrote:using the command line: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...
Code:zxb attrtest.bas -T -B -a -Z
I still get this:
[...]Code: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.
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 :wink: ). I think this is a good approach (step by step, or kaizen), instead of rewritting from scratch. :?: