LB Booster
« Liberty BASIC v4.5 »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:24am



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: Liberty BASIC v4.5  (Read 1575 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Liberty BASIC v4.5
« Thread started on: Mar 23rd, 2014, 5:51pm »

on Mar 22nd, 2014, 7:39pm, Richey wrote:
Carl has also released announced Liberty BASIC v4.5 - shocked . Does that affect the current version of LB Booster in any way?

Further to my earlier comments I've just noticed that Carl has done something superficially strange. In the 'Liberty BASIC v4.5 beta 1 release notes' he says: "Fixed the value of StartupDir$ string in the runtime engine so that it ends with a \ just as it does when running a program from the IDE". But that 'fix' makes StartupDir$ inconsistent with DefaultDir$ (which never has had a trailing \)!

In LBB I 'fixed' the LB 4.04 bug in the obvious way: neither DefaultDir$ nor StartupDir$ has a trailing backslash (whether run in the IDE or as a compiled EXE). I am not inclined to modify LBB to make it the same as LB 4.5, I'd rather keep it internally consistent. If you always add an extra \ in your program, for luck, it will work on all platforms because Windows accepts \\ as a valid directory delimiter.

Richard.

User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Liberty BASIC v4.5
« Reply #1 on: Dec 6th, 2014, 10:46am »

on Mar 23rd, 2014, 5:51pm, Richard Russell wrote:
But that 'fix' makes StartupDir$ inconsistent with DefaultDir$ (which never has had a trailing \)!

I see that there's a current discussion about this at the Liberty BASIC forum. It would be nice if Carl can be persuaded to change StartupDir$ to work the same way as LBB (i.e. for both DefaultDir$ and StartupDir$ not to have a trailing backslash, both in the IDE and when run from the run-time engine). Either way, adding an extra \ in your BASIC program is always safe.

Richard.
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