Welcome Guest. Please Login or Register. Apr 1st, 2018, 04:32am
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!
Initial size of mainwin
« Thread started on: Jul 23rd, 2015, 10:06pm »
I've received a complaint from a user who is upset about LBB's mainwin initialising to a completely different size from LB4's mainwin.
Of course it's not true: both LBB 3.00 and LB 4.04, out of the box, initialise the mainwin to 80 columns by 24 rows. But it's not difficult to guess why the user has formed his opinion - in LB the initial size of the mainwin is configurable in the Setup... Preferences... menu! So if this has been set to something other than 80x24 then of course LBB will appear to be incompatible.
In my opinion it's pretty crazy for a setting in the IDE to affect the behaviour of a program in this way. In any case it's unnecessary - you can use the MAINWIN statement to change the window size to whatever your program needs. But that has an even more ridiculous side-effect - it updates the IDE's settings so that the specified mainwin dimensions become the default next time!
LBB doesn't attempt to emulate any of this strangeness. The mainwin always initialises to 80x24, and can be changed to a different size at run-time using the MAINWIN statement.