Welcome Guest. Please Login or Register. Apr 1st, 2018, 04:48am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
In the following code LBB goes to printer not to mainwin.
You seem to be sending binary data (the contents of an image file, such as a GIF or JPG) to the mainwin, which isn't normally a sensible thing to do. Binary data is likely to contain 'control characters', i.e. characters in the range chr$(0) to chr$(31), and they can have all kinds of (superficially) strange effects, including redirecting output to the printer!
Generally the only control characters which should be output to the LBB mainwin are Carriage Return - CR or chr$(13) - and Line Feed - LF or chr$(10). If you want to know the effects of the other characters you can find a description here, but to keep things simple don't send binary data to the mainwin - it is intended only to receive text.