The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




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: 1 Guest(s)