Now we have 32-bit (Windows, older MacOS, Linux and Raspberry Pi) and 64-bit versions (Windows, newer MacOS and Linux). For newer versions of MacOS 64-bit is required. There is a compatibility issue with MacOS 15.5.5, which was just released a few days ago. On the Raspberry Pi only the 32-bit version is supported.
Download 32-bit:
www.libertybasic.com/lb5x32-351.zipDownload 64-bit:
www.libertybasic.com/lb5x64-351.zipThanks for your patience.
Build 351 Notes
==============================================================================
- Added an optional path parameter to the SQLITECONNECT so that you can
specify the path to the sqlite3 library if Liberty BASIC cannot find it.
SQLITECONNECT "databaseName", "/usr/lib64"
- Fixed several toolbar buttons and menu items in the LB code editor to add
functionality or to prevent an error popup.
-Toolbar items: cut, find, jump to, help
-Menu items: find, find and replace, and help menu items
- Fix for the DRAWIMAGE() / DRAWBMP() commands which were failing with a
message not understood error in some situations.
- Added code to clean up cursors in SQLite3. This eliminates database
lockups. See the lock-test-monster.bas example.
- Fixed! The tabs in the Liberty BASIC editor don't update when saving a file.
- Added an INVALIDATE() function for graphics windows. This forces drawing
to be displayed on screen on demand. This is useful because Liberty BASIC
5 draws on a hidden bitmap and pushes that to the screen periodically but
sometimes you want the graphics to update reliably at a certain moment, for
example in an animation routine.
- Added support for handle variables in the BUTTON, STATICTEXT, TEXTBOX, etc.
var$ = "#win.b";1
button #var$, "A button", [click], UL, 10, 10
- Added some acceleration to mouse wheel scrolling to improve user interface
responsiveness on MacOS.
- Implemented support for LINE INPUT.
- Syntax coloring now supports None, Standard, and Extended. See the
Preferences window Environment tab. This work sets up for future custom
syntax coloring schemes. Note: Still needs a little work.
- Fixed the syntax coloring to only run when a code editor is actively being
edited. It was running in the background and was making running BASIC
programs run choppy, especially animated programs.
- Added support for file encoding. The default is ISO8859_1 as a gentle
compromise. ASCII, UTF_8 and MS_CP_1252 can also be specified.
'specify ASCII as the encoding for reading myfile.dat
open "myfile.dat" for input as #1 encoder = ascii
- Trapclose used as the first command in a string caused all the commands
after it to be ignored. Fixed.
'everything after the trapclose is ignored.
#gWin "trapclose [label]; down; fill black"
- Support for BYREF added for functions and subroutines.
- Fixed a bug where WAIT was ineffective when inside an IF/THEN/ELSE block.
This might have seemed like a TIMER bug but it wasn't.
- Add support for RGB colors to the CLS() graphics command.
#gWin cls(200, 255, 255)
- Added the ability to set scaling with the BACKGROUND() graphics command
for example:
#gWin background("name")
#gWin background("name", 1.5) 'scale x and y by 1.5
#gWin background("name", 1.0, 1.5) 'scale x by 1.0 and y by 1.5
- Changing the count inside a FOR/NEXT loop wasn't properly affecting the
loop execution, so the following didn't work:
for x = 1 to 10
print x
if x = 5 then x = 10 ' exit loop
next x
- Optimized drawing performance of the GO graphics command.
- Added support for the SPRITEIMAGE commmand.
- Some images would not load without error using the LOADIMAGE command.
Fixed.
- Improved performance of sprite drawing.
- Tweaked the support for mouse wheel scrolling. This is most noticeable
on Mac OS in the code editor.
-Fixed SQLite support for Mac/Linux/Raspberry Pi, broken in build 350.