LB Booster
« LB Booster version 3.05 released »

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



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  Notify Send Topic Print
 thread  Author  Topic: LB Booster version 3.05 released  (Read 747 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx LB Booster version 3.05 released
« Thread started on: Jun 1st, 2016, 09:35am »

I am pleased to announce the release of LB Booster version 3.05. 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, 8/8.1 and 10, with UAC enabled, use 'Run as administrator').

This release incorporates the following minor changes:
  1. The FILEDIALOG statement has been reverted to its pre-3.01 behavior, see the detailed description below. This change slightly impairs compatibility with LB 4, but has been requested by users.

  2. A new %options Compiler Directive allows you to control the 'Emulate Slicing' and 'Unicode Support' settings from your program's source code, to ensure they are correctly selected.

  3. When using LB 4.5.0 functions it is no longer necessary to copy lb45func.bas into your program's directory. Simply appending the appropriate 'include directive is sufficient.

  4. A memory leak that could sometimes result from using ON ERROR GOTO (for example to recover from an error in an OPEN statement) has been fixed.

The revised behavior of FILEDIALOG is quite complicated:
  • If the supplied template$ contains an absolute path (i.e. a path starting at the root of the drive), and that directory exists, the dialog will open there. For example to open in DefaultDir$:

    Code:
        FILEDIALOG "Absolute path", DefaultDir$ + "\*.log;*.txt", retVar$ 

  • If the supplied template$ contains a relative path, the dialog will open in the directory which has the specified relationship with the Current Directory. The Current Directory is usually, but not guaranteed to be, the same as DefaultDir$. For example to open in the parent directory:

    Code:
        FILEDIALOG "Relative path", "..\*.log;*.txt", retVar$ 

  • If the supplied template$ contains no path, or the specified path does not exist, the dialog will open in a previously-selected directory (if any). The previously-selected directory is 'remembered' by Windows on a per-application basis, so when your program is compiled to an EXE it should open in the directory which was last selected in that program. For example:

    Code:
        FILEDIALOG "Remembered", "*.log;*.txt", retVar$ 
Please note that, unavoidably, updating LBB.EXE will mean that its 'reputation' is reset and you may receive security warnings when you download it. This should resolve itself eventually when the new version has been downloaded a sufficient number of times for its safety to be established.

Richard.
User IP Logged

joker
Global Moderator
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 157
xx Re: LB Booster version 3.05 released
« Reply #1 on: Jun 1st, 2016, 09:47am »

Now, that is a big deal. Thanks, Richard!

I'll have to find an opportunity to put this download in motion.

PS. I resisted, slightly, the urge to write, "You da man!" cheesy
User IP Logged

pierscintilla
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 30
xx Re: LB Booster version 3.05 released
« Reply #2 on: Jun 1st, 2016, 12:14pm »

Thank you very much for the 3.5 release. I knew I could count on you !!

Pier
User IP Logged

Mystic
Junior Member
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 53
xx Re: LB Booster version 3.05 released
« Reply #3 on: Jun 1st, 2016, 4:52pm »

Always enjoy an actual update and bug fixes.

Refreshing... smiley
User IP Logged

- Rick
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.05 released
« Reply #4 on: Jun 2nd, 2016, 10:28pm »

on Jun 1st, 2016, 09:35am, Richard Russell wrote:
The Current Directory is usually, but not guaranteed to be, the same as DefaultDir$.

In case anybody is puzzled by that statement, let me clarify that as far as I'm aware there are only a couple of circumstances when the Current Directory and DefaultDir$ can be different. The first is when the former has been changed as the result of an API call, for example:

Code:
    MyDir$ = "C:\MyPath\MyDirectory"
    calldll #kernel32, "SetCurrentDirectoryA", MyDir$ as ptr, ret as long 

The second is when the DefaultDir$ variable is changed in an 'unusual' way, for example:

Code:
    call changedir DefaultDir$
    end
    
sub changedir byref dir$
    dir$ = "C:\MyPath\MyDirectory" 
end sub 

In LBB, at least, changing DefaultDir$ 'conventionally' automatically changes the Current Directory to match:

Code:
    DefaultDir$ = "C:\MyPath\MyDirectory" 

You can use the 'Show LBB Pane' option to see what code this actually generates.

Richard.
« Last Edit: Jun 3rd, 2016, 08:41am by Richard Russell » User IP Logged

Phineas Freak
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 18
xx Re: LB Booster version 3.05 released
« Reply #5 on: Jun 24th, 2016, 10:15am »

I am late to the party as it seems but i am glad to see that you did not stop developing LBB in spite of all the hostility and the other "stuff" by the LB admins.

Congratulations for your new releases! smiley
User IP Logged

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

| |

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