![]() |
INT (fixed) doesn't work (*solved*) - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: INT (fixed) doesn't work (*solved*) (/showthread.php?tid=170) |
INT (fixed) doesn't work (*solved*) - britlion - 03-02-2010 Version zxb 1.2.5-r1489 Code: DIM a as fixed 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 Re: INT (fixed) doesn't work - boriel - 03-02-2010 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. Re: INT (fixed) doesn't work - britlion - 03-05-2010 2.0? ^_^ Thankyou for all the hard work you've put into this little compiler. As you can tell, I'm a fan :-) Re: INT (fixed) doesn't work - LCD - 03-05-2010 britlion Wrote:As you can tell, I'm a fan :-)Not the only one, by the way! |