cundo
Full Member
Muchas Gracias!!
Posts: 146
|
Post by cundo on Feb 24, 2019 17:28:47 GMT -5
Typing Print .5 crashes the IDE. .5 (or any number after point). Writing INT() then filling the space : INT(.5) turns into INT(0.) when pressing the enter key. Writing INT( then .5... crashes. Trying the same with ABS( but it froze LB5 completely.
|
|
|
Post by Carl Gundel on Feb 24, 2019 19:52:02 GMT -5
Typing Print .5 crashes the IDE. .5 (or any number after point). Writing INT() then filling the space : INT(.5) turns into INT(0.) when pressing the enter key. Writing INT( then .5... crashes. Trying the same with ABS( but it froze LB5 completely. Yep, you found a bug in the parser.
|
|
|
Post by donnybowers on Feb 24, 2019 22:30:26 GMT -5
It's funny because in the .bas file (in a text editor) I have:
print int(.5)
but when I open it with LB5 it says:
print int(0.)
then when you run it, the status bar says:
Syntax error: at line 1: print int(0.)
|
|
|
Post by Carl Gundel on Feb 24, 2019 23:04:30 GMT -5
It's funny because in the .bas file (in a text editor) I have: print int(.5) but when I open it with LB5 it says: print int(0.) then when you run it, the status bar says: Syntax error: at line 1: print int(0.) Yup, good catch. I noticed that too. Already fixed in the next 348 build. That will be out in a day or two.
|
|