Page 1 of 1
IDE Output Window
Posted: 15 January 2010, 18:22 PM
by liam.zbasic
Hello. I want to increase the number of lines in the IDE output window to see more of my ZX-40A data. The default seems to be ~105 lines. Also, is it possible to increase the output rate beyond the debug.print command? Thanks.
Re: IDE Output Window
Posted: 15 January 2010, 20:23 PM
by dkinzer
liam.zbasic wrote:I want to increase the number of lines in the IDE output window to see more of my ZX-40A data.
There is section of the ZBasic Language Reference Manual that describes exactly how to do that.
http://www.zbasic.net/doc/ZBasicRef.php?page=116
liam.zbasic wrote:Also, is it possible to increase the output rate beyond the debug.print command?
The default baud rate for Com1 is 19.2K baud and the IDE is set to match that by default. You can change the baud rate of Com1 by closing Com1 and opening it again with the parameters that you want to use. You'll also have to manually set the baud rate in the IDE to match whatever rate you choose.
You need to be aware, however, that the "sign on" message is sent to the output queue before Main() begins executing. Consequently, if you change the baud rate of Com1 and have the IDE set to match, the sign on message will display as garbled characters because they will have been output at the default rate. You can avoid this by using "Option SignOn Off" in the first module of your project. You can read more about that, and the applicable caveats, in the ZBasic Language Reference Manual:
http://www.zbasic.net/doc/ZBasicRef.php?page=20
Posted: 18 January 2010, 22:56 PM
by liam.zbasic
Thank you.