Liberty BASIC Community Forum
« Liberty BASIC v4.5.1 beta 4 »

Welcome Guest. Please Login or Register.
Nov 24th, 2017, 10:53am


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Liberty BASIC v4.5.1 beta 4  (Read 889 times)
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Liberty BASIC v4.5.1 beta 4
« Thread started on: May 5th, 2017, 08:36am »

Here is beta 4 of Liberty BASIC v4.5.1.

http://www.libertybasic.com/lb451b4setup.exe

The new installer launches Liberty BASIC when the install finishes.

-Carl

Liberty BASIC v4.5.1 beta 4 release notes
----------------------------------------------------------------------

-Added a new function idefilename$() which returns the full path of
the file currently under edit in the Liberty BASIC IDE.

-Updated the Liberty BASIC ini filename to lbasic451.ini

-Updated the welcome.bas program file.

-Updated the new4features.lsn file.
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
G. Rahman
Guru
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1146
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #1 on: May 5th, 2017, 10:09am »



Hi Carl,

The LSN "toolbar panel " is not right yet.
So, if you open/run lb4tutoria.lsn or any lsn program ... then
the item showing in the tool-bar for release notes will give you the
new A feature (larger Editor font)

Gordon

User IP Logged

Gordon Rahman

http://www.libertybasic.nl
JohnnyD
Guru
ImageImageImageImageImage


member is offline

Avatar

"If something should, then it doesn't, isn't, can't, hasn't or won't"


Homepage PM

Gender: Male
Posts: 765
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #2 on: May 5th, 2017, 10:51am »

The release notes button gives me the "Click below to explore the world of Liberty Basic!" window!

The "globe" button makes the font smaller in the bottom right pane and the "help" button gives a bigger font.

John.
User IP Logged

G. Rahman
Guru
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1146
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #3 on: May 5th, 2017, 11:30am »

on May 5th, 2017, 10:51am, JohnnyD wrote:
The release notes button gives me the "Click below to explore the world of Liberty Basic!" window!

The "globe" button makes the font smaller in the bottom right pane and the "help" button gives a bigger font.

John.


Yes because Carl expanded his toolbar with two new buttons (items) and forgot to fix that for the LSN mode.... smiley

Gordon
User IP Logged

Gordon Rahman

http://www.libertybasic.nl
thejoecole
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 34
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #4 on: May 5th, 2017, 1:00pm »

Speaking of toolbars...

Running the Beta as unregistered, when I click on the "Buy upgrade online!" button, it opens to a blank webpage:
www.libertybasic.com/toolbarlb4.html

Don't want Carl to lose out on any potential sales! grin
User IP Logged

Joe Cole
-------------------------
Liberty BASIC v4.5.1
Windows 10 Home 64-bit | Intel Core i3, 2.4GHz, 8 gig RAM
-------------------------
Consumer of Caffeinated Products
Hobby Programmer Wannabe
Stefan Pendl
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Computers are like babies, you must teach them what you like them to do ...


Homepage PM

Gender: Male
Posts: 5297
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #5 on: May 5th, 2017, 5:07pm »

Selecting "Setup => Editor/Printer Font" results in "Runtime error: The printer name is incorrect. ( OS error 16r709 )".
Code:
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject> 
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The printer name is ...'> 
Printer(Object)>>osError: <1801> 
Printer(Object)>>osError
Printer>>createDC
Printer>>buildPrinter
FontDialog>>copyStruct
FontDialog>>open
BasicSourceWindow>>setFonts
BasicSourceWindow(Object)>>perform: <#setFonts> 
MenuWindow>>performMenuItem: <1538> 
BasicSourceTopPane(ApplicationWindow)>>performMenuItem: <1538> 
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage> 
Process>>evaluate: <aMessage>
 
User IP Logged

Stefan

Make sure to read and follow the Forum Guidelines

Liberty BASIC Pro 4.04, Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
Stefan Pendl
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Computers are like babies, you must teach them what you like them to do ...


Homepage PM

Gender: Male
Posts: 5297
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #6 on: May 5th, 2017, 5:15pm »

Selecting "Setup => Icon Editor" results in the following error:
Code:
Runtime error: "graphicsMedium" not understood

MessageNotUnderstood>>defaultAction
MessageNotUnderstood(Exception)>>activateHandler: <anUndefinedObject> 
MessageNotUnderstood(Exception)>>handle
MessageNotUnderstood(Exception)>>signal
MessageNotUnderstood class>>message: <aMessage> 
UndefinedObject(Object)>>doesNotUnderstand: <aMessage> 
IconEditor>>clear
Message>>perform
Message>>evaluate
TopPane(Object)>>triggerEvent: <#opened> 
TopPane>>triggerOpenedEvent
Message>>perform
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage> 
Process>>evaluate: <aMessage> 
 
User IP Logged

Stefan

Make sure to read and follow the Forum Guidelines

Liberty BASIC Pro 4.04, Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
Rod
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5567
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #7 on: May 6th, 2017, 03:34am »

I don't get either of Stefan's reported errors, the icon editor opens and runs and the printer font changes.

If you have time I think that the help file would benefit from having the platform variables listed alphabetically with the keyword list. Things like printerfont$ are hard to find.
User IP Logged

Stefan Pendl
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Computers are like babies, you must teach them what you like them to do ...


Homepage PM

Gender: Male
Posts: 5297
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #8 on: May 6th, 2017, 04:11am »

The editor/printer font error can be resolved by selecting "File => Print" once, but that is not a solution.
Depending on the code used, there must be checked if the printer used is valid, if it is invalid the default printer of the user must be used.

PS: my default printer is not always connected to the system, so that might be causing this issue.
« Last Edit: May 6th, 2017, 04:18am by Stefan Pendl » User IP Logged

Stefan

Make sure to read and follow the Forum Guidelines

Liberty BASIC Pro 4.04, Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
cundo
Guru
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 627
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #9 on: May 6th, 2017, 09:50am »

I don't get those two error messages either. I think installing almost identical versions of the same software causes some random hiccups. Don't know if this is the cause with the problems Stefan mentions. huh

I see that the LsN toolbar is a different toolbar, didn't know that.
User IP Logged

cundo
cundo
Guru
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 627
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #10 on: May 6th, 2017, 4:15pm »

Look Code:
' Open Current Folder

' Testing the idefilename$() function by cundo c 2017
'  Save this as a TKN file,
'   append it to the Run Menu : Setup> External Programs

nomainwin
    iname$=idefilename$()
    openThis$ = upto$(iname$,afterlast$(iname$,"\"))
    if instr(openThis$,"\")>0 then run "explorer.exe ";openThis$
end

 
User IP Logged

cundo
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #11 on: May 7th, 2017, 1:58pm »

This is fixed for beta 5. smiley

-Carl

on May 5th, 2017, 11:30am, G. Rahman wrote:
Yes because Carl expanded his toolbar with two new buttons (items) and forgot to fix that for the LSN mode.... smiley

Gordon
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #12 on: May 7th, 2017, 2:05pm »

Thanks. I have fixed this now.

-Carl

on May 5th, 2017, 1:00pm, thejoecole wrote:
Speaking of toolbars...

Running the Beta as unregistered, when I click on the "Buy upgrade online!" button, it opens to a blank webpage:
www.libertybasic.com/toolbarlb4.html

Don't want Carl to lose out on any potential sales! grin
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #13 on: May 8th, 2017, 06:56am »

Nice short example.

on May 6th, 2017, 4:15pm, cundo wrote:
Look Code:
' Open Current Folder

' Testing the idefilename$() function by cundo c 2017
'  Save this as a TKN file,
'   append it to the Run Menu : Setup> External Programs

nomainwin
    iname$=idefilename$()
    openThis$ = upto$(iname$,afterlast$(iname$,"\"))
    if instr(openThis$,"\")>0 then run "explorer.exe ";openThis$
end

 
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Liberty BASIC v4.5.1 beta 4
« Reply #14 on: May 8th, 2017, 08:26am »

There needs to be a default printer. This bug has been there all along. I will address it if I can find some cycles. I would certainly like to see it fixed.

-Carl

on May 5th, 2017, 5:07pm, Stefan Pendl wrote:
Selecting "Setup => Editor/Printer Font" results in "Runtime error: The printer name is incorrect. ( OS error 16r709 )".
Code:
Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject> 
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'The printer name is ...'> 
Printer(Object)>>osError: <1801> 
Printer(Object)>>osError
Printer>>createDC
Printer>>buildPrinter
FontDialog>>copyStruct
FontDialog>>open
BasicSourceWindow>>setFonts
BasicSourceWindow(Object)>>perform: <#setFonts> 
MenuWindow>>performMenuItem: <1538> 
BasicSourceTopPane(ApplicationWindow)>>performMenuItem: <1538> 
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage> 
Process>>evaluate: <aMessage>
 
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls