Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with -Z option (*solved*)
#16
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:
Code:
PRINT ATTR(0,0)
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 :!: :wink:
LTee Wrote:using the command line:
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.
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 :wink: ). I think this is a good approach (step by step, or kaizen), instead of rewritting from scratch. :?:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)