LB Booster
« LB Booster version 3.00 released »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 03:39am



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!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1 2 3  Notify Send Topic Print
 veryhotthread  Author  Topic: LB Booster version 3.00 released  (Read 9011 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx LB Booster version 3.00 released
« Thread started on: Mar 1st, 2015, 11:41am »

I am pleased to announce the release of LB Booster version 3.00. It may be downloaded from here:

http://lbbooster.com/LBB.exe (IDE/compiler)
http://lbbooster.com/LBBRUN.exe (optional runtime engine)

You will need administrative privileges when running the program for the first time after upgrading (in Windows Vista, 7 and 8/8.1, with UAC enabled, use 'Run as administrator').

Changes in this version include:
    Extensions to the Liberty BASIC language:

  1. Object Oriented Programming (OOP): Classes, Objects, Properties, Methods, Constructors, Destructors, Inheritance, Containment etc!

  2. Structured Exception Handling (SEH): TRY, CATCH, END TRY & THROW.

  3. Compound assignment operators (+=. -=, *=, /=).

  4. Array elements may be passed to functions and subs By Reference.

  5. The RUN statement has an option to wait until the program exits.

  6. The graphics PRINT command has an option to suppress the dump.

  7. You can paste into the mainwin INPUT statement using Ctrl+V.

    Compatibility Improvements:

  8. LPRINT word-wraps at the end of a line.

  9. If you enter a very long line in response to INPUT, the mainwin scrolls automatically to keep the caret visible.

    Enhancements to the Integrated Development Environment (IDE):

  10. Syntax coloring, with customizable colors!

  11. File... Compare... shows differences from a previous version.

  12. File... Insert... inserts a file at the current caret position.

  13. Edit... Go To... (Ctrl+G) jumps to a specified line number.

  14. Edit... Find... supports Up/Down and Find Previous (Shift+F3).

  15. The Find/Replace dialogs are initialised with any selected text.

  16. The Status Bar shows Encoding, Overtype, Capslock, Numlock states.

  17. The NOMAINWIN statement is ignored when run in Debug mode.
Richard.
« Last Edit: Mar 1st, 2015, 3:32pm by Richard Russell » User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #1 on: Mar 1st, 2015, 5:22pm »

This is absolutely amazing. I'm doing a project in LBB right now, so I'm going to try and take advantage of these new features and let you know how it goes.

Can't wait to try it!
User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: LB Booster version 3.00 released
« Reply #2 on: Mar 1st, 2015, 5:36pm »

New features sound great. Juts got some problem trying:
Problems with syntax coloring
Left: syntax coloring is off. Right: syntax coloring is on
User Image

Font set to Courier New, but with coloring off font looks like arial (or something like that)
And with coloring on - font looks like Courier but spacing is definitely off.

(I'm on XP Home SP3)
User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #3 on: Mar 1st, 2015, 5:42pm »

Are arrays inside classes local?
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.00 released
« Reply #4 on: Mar 1st, 2015, 5:51pm »

on Mar 1st, 2015, 5:36pm, tsh73 wrote:
Font set to Courier New, but with coloring off font looks like arial (or something like that)

That's the fault! If the native Richedit control isn't recognising the font selection with the colouring off there's no way it is going to work with the colouring on! I can't say what the problem is, but it must be specific to your system (works fine with Courier New and XP SP3 here).

I should have said, but I'll say it now: if the Syntax Colouring doesn't work just switch it off; you are no worse off than you were before. It's a bonus feature for those for whom it works properly. If you're unlucky and it doesn't work, there is nothing I can do about it. Sorry.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.00 released
« Reply #5 on: Mar 1st, 2015, 5:55pm »

on Mar 1st, 2015, 5:42pm, JosephE wrote:
Are arrays inside classes local?

This is what it says in the docs: "Unlike conventional arrays, class property arrays are not global.".

Richard.
User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #6 on: Mar 1st, 2015, 6:02pm »

Thank you, I missed that. I've been referencing your documentation while I rewrite my code around the new OOP features.

Is this good practice?

Code:
global MAXSIZE
MAXSIZE = 10

class myClass
  dim array(MAXSIZE)
end class
 
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.00 released
« Reply #7 on: Mar 1st, 2015, 6:22pm »

on Mar 1st, 2015, 6:02pm, JosephE wrote:
Is this good practice?
Code:
global MAXSIZE
MAXSIZE = 10

class myClass
  dim array(MAXSIZE)
end class 

Using a global you mean? I can't see anything wrong with it.

Depending on the extent to which people play with OOP, I expect there will be requests to add more features (I know Bluatigro would like to be able to pass objects as parameters!). We will have to see how we go.

Richard.
« Last Edit: Mar 1st, 2015, 6:23pm by Richard Russell » User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #8 on: Mar 1st, 2015, 6:32pm »

Passing and returning objects from functions would be brilliant, if you ever get around to it wink
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.00 released
« Reply #9 on: Mar 1st, 2015, 6:43pm »

on Mar 1st, 2015, 6:32pm, JosephE wrote:
Passing and returning objects from functions would be brilliant, if you ever get around to it wink

The challenge is to devise a syntax that is compatible with the rest of Liberty BASIC; it's tricky to bolt-on that kind of feature without breaking existing programs. Any suggestions would be welcome!

Is the Syntax Colouring working for you?

Richard.
User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #10 on: Mar 1st, 2015, 7:53pm »

The syntax coloring is working great! (Windows 8.1, brand new custom built computer)

What about something like this (reminiscent of VB)?

Code:
function myFunction(parameter as MyObject, number, string$) as MyObject
  myFunction = new MyObject ' or a reference to an object instance in another variable
end function 
« Last Edit: Mar 1st, 2015, 7:53pm by JosephE » User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: LB Booster version 3.00 released
« Reply #11 on: Mar 1st, 2015, 7:55pm »

Just for a record, it looks like syntax coloring for me works with
any font I tried (gave up after 10) but Courier or Courier new.
So I set it to Lucida Console.
User IP Logged

Alincon
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 147
xx Re: LB Booster version 3.00 released
« Reply #12 on: Mar 1st, 2015, 8:34pm »

Gee, I'm not used to developers delivering products on time.
These are significant improvements, indeed.

About downloading and installing: should I remove v2.80 before downloading 3.0, or will 3.0 overlay 2.80?

r.m.
User IP Logged

JosephE
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 35
xx Re: LB Booster version 3.00 released
« Reply #13 on: Mar 1st, 2015, 8:46pm »

on Mar 1st, 2015, 8:34pm, Alincon wrote:
About downloading and installing: should I remove v2.80 before downloading 3.0, or will 3.0 overlay 2.80?


You're pretty much just downloading an executable, so you can rename your previous version and dump the new one in the same place. I haven't found any significant bugs in 3.0 yet, but I'm hanging onto 2.8 just in case.
User IP Logged

Richey
New Member
Image


member is offline

Avatar




PM


Posts: 14
xx Re: LB Booster version 3.00 released
« Reply #14 on: Mar 1st, 2015, 9:26pm »

on Mar 1st, 2015, 11:41am, Richard Russell wrote:
I am pleased to announce the release of LB Booster version 3.00.


Richard, this is superb - but those of us who are also BBC BASIC for Windows users have come to expect no less. This new version also allows me the chance to experiment with OOP using BASIC, which is brilliant and the syntax colouring means even less need to revert back to the original LB IDE. Congratulations and many thanks for your continued efforts on this.
User IP Logged

Pages: 1 2 3  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls