Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ZXB errores mios de sintaxis o incompatible con SinclairBas?
#6
the IF ... THEN was only a cosmetical change. The other change was to reduce the readed out string by one.
The reason is that the index of variables (arrays and strings) in ZXBC starts with 0, not with 1. This is not a bug but a great feature. If you set the String base to 1 with compiler option --string-base=1, it would work as expected anyway with your posted code too.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)