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
#17
Absolutely, I agree 100% that this is the best way to do it.

Problems like these never hold me up because I always keep several versions on hand 'just in case'. Of course, getting time to actually work on my game is another thing altogether. Big Grin
Reply
#18
Okay, download and test 1.2.7-r2100 plase (pretty number, by the way). :mrgreen:
Here, as always: <!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive">http://www.boriel.com/wiki/en/index.php ... IC:Archive</a><!-- m -->
Reply
#19
Success! Everything seems to be working fine again now.

Thanks for your efforts, boriel - hopefully it wasn't too difficult to track down. :-)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)