Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ZXB errores mios de sintaxis o incompatible con SinclairBas?
#3
@Boriel: Please copy the sources next time directly without using a translator.
Code:
IF f = f = 0 OR 4 OR 8 OR f = f = 12 f = 16 THEN OR
Code:
POKE 23607.194
Code:
IF z +1 <= LEN X THEN
Are simply awfuly translated automaticaly.

About the solution:
Code:
FOR z=0 TO LEN X$ STEP 2
should be changed to:
Code:
FOR z=0 TO LEN(X$)-1 STEP 2

And how about changing:
Code:
9607   IF decimales > LEN X$ THEN
      LET X$="0"+X$
      GOTO 9607
   END IF
to cleaner:
Code:
    while LEN(X$)<decimales
        X$="0"+X$
     end while
???
------------------------------------------------------------
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: 2 Guest(s)