LB Booster
« LB Booster version 3.09 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.09 released  (Read 523 times)
Jack Kelly
Full Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 106
xx Re: LB Booster version 3.09 released
« Reply #5 on: Sep 9th, 2017, 1:18pm »

I always check to see what happens when I 'print DefaultDir$' immediately after starting LBB from the shortcut. In my opinion it should always report the 'Start in' folder of the shortcut. I thought you had made this change in version 3.08, but 3.09 still reports the Windows Temp folder.

I know you have told me many reasons why this was impossible or difficult in LBB, but I remain hopeful.

Jack
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: LB Booster version 3.09 released
« Reply #6 on: Sep 9th, 2017, 5:04pm »

on Sep 9th, 2017, 1:18pm, Jack Kelly wrote:
In my opinion DefaultDir$ should always report the 'Start in' folder of the shortcut.

It does, of course, when the shortcut points to a compiled LB program. DefaultDir$ refers to the 'current directory' when the compiled program (i.e. the EXE file) is run. If it's run from a shortcut it will be the 'Start in' property. If not, it will often be the directory from which the EXE was launched.

If you are running a BASIC program from the LBB IDE the 'start in' property of the shortcut has no meaning since it will be the same for every BASIC program you run! In that case LBB makes the best guess it can as to the 'proper' DefaultDir$, which is the folder in which the BASIC program itself resides. For example this makes the sample programs supplied with Liberty BASIC 4 work correctly.

Quote:
I thought you had made this change in version 3.08, but 3.09 still reports the Windows Temp folder.

I don't recollect the issue having been raised previously, but if it was I no doubt gave the same answer. LBB is working as designed, which is to set DefaultDir$ 'correctly' for compiled programs and to make an 'intelligent guess' as to the wanted DefaultDir$ when programs are run from the IDE.

Richard.
« Last Edit: Sep 9th, 2017, 7:16pm by Richard Russell » User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: LB Booster version 3.09 released
« Reply #7 on: Sep 15th, 2017, 4:59pm »

Richard, thanks for your continued support. Still running LBB in linux/wine, remembering to manually create the 'lib' folder! Everything working fine. cool
User IP Logged

CirothUngol
New Member
Image


member is offline

Avatar

Odie, Odie, cha cha cha.


PM

Gender: Male
Posts: 44
xx Re: LB Booster version 3.09 released
« Reply #8 on: Oct 7th, 2017, 02:08am »

Wow, thanks for the update... it's almost a custom 'me' version! ^_^
Now the little tree utility should be fully capable, and I didn't even have to do anything. Thanks again for continuing to update my favorite programming environment; why more people don't use this very clever app, I'll never know.
User IP Logged

LB Booster + LB Workshop + LB Builder = My Programs on Google Drive
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