Re: console simulation ui
Hi Frank,
you again didn't followed the elemental rules from the post we discussed just a few days ago.
Again random values for control ids, again no test for appropriate message. Uaaa. Especially the second can result in some "mysterious" behavior very hard to track.
And the global hDlg is also not necessary, as you can pick auto allocated CbHndl.
I recommend to not translate line by line, but to think more in detail what the code does, and then recreate it in ThinBASIC.
Regarding the appending the text, have a look at:
You have it already at your service, no need for custom function (which you didn't called in your code at all).
Some brief look to help file, from time to time, might save you time later.
For breaking the line, just append $CRLF to the string you print.
Petr