The MAINWIN command changes the preferences of the IDE

From Liberty BASIC Family
Jump to navigation Jump to search

Description

If one is using the MAINWIN command, the preferences of the mainwin size in the setup dialog get overwritten. This leads to a persistent change, which is not expected by the user.

Example code to demonstrate the bug.

MAINWIN 100 40

Example code to work around the bug.

'do not use the MAINWIN command
'OR if you REALLY need it done, warn user first