Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 25/11/2005 @ 09:12 by aldweb
visitor |
Hello Richard,
This is strange, because iziBasic is well able to print beyond the width of the screen. For instance, it does use the same routine itself to display the source code lines in Verbose mode. And source code lines can be much wider than the screen width!
Nevertheless, thank you for the information, I will try your source code. It might be a side border effect.
If you use the console fonts of iziBasic (see the appropriate compiling directive), you will see that all characters have the same width. Then, no need to go for the smart way you used, but you can work the quick way: count the number of characters on the line. Your way of doing is smarter because it will always work, either with a non-fixed-width font or with a fixed-width font, and some old devices cannot work with iziBasic's fonts.
Now, I have to say that the console mode, in iziBasic, is quite rough and I did not spend hundreds of hours developing it. It is mainly available for quick prototyping or debugging purposes. Usually, we would use GUI components in a Palm application
Cheers, aldweb
@+ aldweb |