New beta release 1.2.6r1603b - 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: New beta release 1.2.6r1603b (/showthread.php?tid=239) |
New beta release 1.2.6r1603b - boriel - 06-06-2010 This version just adds little improvements to the previous one:
Download at the Archive. Note: If you want to be automagically you can register into the wiki and click on "Watch this", so each time the page is changed you will receive a notification (I think it would be a good idea). :roll: Re: New beta release 1.2.6r1603b - programandala.net - 06-06-2010 boriel Wrote:This version just adds little improvements to the previous one: It seems it works fine. Thank you. Now the control flow can be more creative and, the most important, ZX Basic's DO-LOOP is FreeBASIC-compatible. What about allowing conditions both with DO and LOOP at the same time?: Quote:Do [ { Until | While } condition ] FreeBASIC doesn't allow that, but Beta Basic (for the ZX Spectrum) and SAM Basic (for the SAM Coupé) do, and I find it very useful: a loop with two exit conditions. Besides, the syntax in the documentation would be simpler: just the example above needed, not two Do you think it is feasible without much effort? Re: New beta release 1.2.6r1603b - boriel - 06-06-2010 programandala.net Wrote:I think it does not worth the hassle. This especial case will require changing some compiling internals, and the generated code won't be very efficient (Eg. checking two conditions per loop cycle). What is the meaning of that instruction, BTW? I don't understand it very well... :roll:boriel Wrote:This version just adds little improvements to the previous one: If you need to check extra conditions within the loop, you can always use: Code: DO... Re: New beta release 1.2.6r1603b - LCD - 06-06-2010 Thanks for your great work. I have the download page in website watcher, so it informs me anyway about new versions. |