Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INT (fixed) doesn't work (*solved*)
#1
Version zxb 1.2.5-r1489

Code:
DIM a as fixed
LET a=3.5
print a
print INT(a)

Returns
3.5
229376

I think it's getting bit converted to a long. If I do cast(fixed,int(a))) I get back 3.5
Reply
#2
Ok, this has been fixed, as it has been the MOD problem.
Please, download this version: <!-- m --><a class="postlink" href="http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489d.msi">http://www.boriel.com/files/zxb/zxbasic-1.2.5r1489d.msi</a><!-- m -->

Check for these and other problems, and tell me.
I think it's time to release version 1.2.5 (stable)
And start developing 1.2.6.

I'm also branching to 2.0. This version will be a complete code-refactorization among other things.
Reply
#3
2.0? ^_^

Thankyou for all the hard work you've put into this little compiler.

As you can tell, I'm a fan :-)
Reply
#4
britlion Wrote:As you can tell, I'm a fan :-)
Not the only one, by the way!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)