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

Welcome Guest. Please Login or Register.
Dec 12th, 2017, 07:54am


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


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


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Liberty BASIC v4.5.1 beta 2
« Thread started on: Apr 26th, 2017, 07:37am »

Okay, v4.5.1 beta 2 is posted. smiley

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

-Carl

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

-The toolbar icons for changing the editor font size were missing.
Fixed.

-Added source code coloring to the debugger code pane.

-Fixed a crash in the popup menu item for the debugger. Run to next
local line.

-Added display of global variables when debugging a sub or function.
A checkbox in the debugger turns this on/off.

-Fixed some inconsistencies in the installer setup which were still
referring to v4.5.0.
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
Rod
Global Moderator
ImageImageImageImageImage


member is online

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5585
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #1 on: Apr 26th, 2017, 09:27am »

Cool, I get the font change icons now and a new ide icon on the desktop called Liberty BASIC v4.5.1 beta 1, I expected beta 2? and I don't know if the removal of the torch icon is deliberate. The runtime is run451.exe

Good so far. However since we are tinkering smiley

For a while now cutting and pasting code from my browser has been problematic. Conforums code cuts and pastes fine but Wiki code does not.

What is happening is that some servers are introducing asc character 160, a non breaking space character, instead of the more usual character 32 space character. So it can be found anywhere in a line.

This confuses the ide which will not compile code and stops on any line with character 160 in it. It means a lot of manual editing before any copied code will run.

Could the bad character set be amended or could the 160 be filtered out to 32? It is a Unicode character. My gut instinct is that eliminating it or indeed swapping it for character 32 would both be working solutions.
User IP Logged

cundo
Guru
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 628
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #2 on: Apr 26th, 2017, 11:56am »

@Rod, what icon. Is that correct English, or should I ask which icon is missing...
@Carl, the colored syntax at the debugger is great. Didn't know that was possible. Displaying Global, great also, someone was asking for that recently.
I didn't made any test yet. But so far it looks good.
What about a Lite-Debug toolbar button, a ladybug but different color perhaps? I don't want to ask for things. So if it is a problem to add this don't worry.
User IP Logged

cundo
Rod
Global Moderator
ImageImageImageImageImage


member is online

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5585
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #3 on: Apr 27th, 2017, 09:32am »

After a restart on my pc the normal torch icon shortcut is now on my desktop. When I first installed 4.5.1 b2 it showed a default Windows icon but that has now changed without intervention by myself.

Although it points to beta2 it is labelled Liberty BASIC v4.5.1 beta1.
User IP Logged

thejoecole
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 34
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #4 on: Apr 27th, 2017, 12:11pm »

Over lunch today I installed 4.5.1 beta 2 and have the same initial observations Rod had.

1. The first thing I observed was the generic icon (not the torch) added to my desktop. Also, the program title says "Liberty BASIC v4.5.1 beta 1" (not beta 2)

2. I right-clicked on the icon to check out the properties. Under the "General" tab, I see the name in the text box does reference "beta 1". Also, the icon shown here is the correct "torch" icon.

3. Under the "Shortcut" tab, the program name references beta 1, but the Target location does reference beta 2 and the Target shows the correct install directory with beta 2 (C:\Program Files (x86)\Liberty Basic v4.5.1 beta 2\liberty.exe)

4. I clicked on the "Change Icon" button and it shows the correct torch icon is selected.

After a reboot of my system, the icon issue resolved itself and the correct "torch" icon is displayed on my desktop.

Have to go back to work and will run the program and see if there are more issues later.

Regards,
Joe
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
Rod
Global Moderator
ImageImageImageImageImage


member is online

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5585
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #5 on: Apr 27th, 2017, 1:59pm »

The checkbox to show or hide global variables works really well. Quick click and scroll gets the info on the global. Syntax color is cool as well.

Character 160 is still a pain, I have filter bad characters clicked but it gets pasted and stalls the compile for even the simplest of code copied from the wiki.
User IP Logged

cundo
Guru
ImageImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 628
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #6 on: Apr 27th, 2017, 2:17pm »

I think that the icon issue it is just a cache thing. It did the same on mine, but updated really fast to the torch, like in a second.
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 2
« Reply #7 on: Apr 27th, 2017, 4:26pm »

on Apr 27th, 2017, 2:17pm, cundo wrote:
I think that the icon issue it is just a cache thing. It did the same on mine, but updated really fast to the torch, like in a second.

Yeah, if the icon is wrong that would seem to be a Windows issue because the icon is pointing to the right place. Not sure I can fix it.

-Carl
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
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 2
« Reply #8 on: Apr 28th, 2017, 03:21am »

Hi Carl,

If you're adding features, I think it would be great to be able to comment out large blocks of code (by adding the " ' " at the start of a line) by highlighting a block of code then click a button to add the " ' " automatically.

It is a right royal pain to do it manually when doing this to 100+ lines!

johnnyD





how easy would it be to be able to highlight a block of code
User IP Logged

CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar

author of Liberty BASIC


Homepage PM


Posts: 2833
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #9 on: Apr 28th, 2017, 06:20am »

Not a bad idea. It would be great to allow for scripting in the editor so that new features can be added by the user.

-Carl
on Apr 28th, 2017, 03:21am, JohnnyD wrote:
Hi Carl,

If you're adding features, I think it would be great to be able to comment out large blocks of code (by adding the " ' " at the start of a line) by highlighting a block of code then click a button to add the " ' " automatically.

It is a right royal pain to do it manually when doing this to 100+ lines!

johnnyD





how easy would it be to be able to highlight a block of code
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 2
« Reply #10 on: Apr 28th, 2017, 06:54am »

on Apr 27th, 2017, 1:59pm, Rod wrote:
The checkbox to show or hide global variables works really well. Quick click and scroll gets the info on the global. Syntax color is cool as well.

Character 160 is still a pain, I have filter bad characters clicked but it gets pasted and stalls the compile for even the simplest of code copied from the wiki.

I will add code to transform the 160 character to a 32 character. smiley

-Carl
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 2
« Reply #11 on: Apr 28th, 2017, 07:15am »

on Apr 28th, 2017, 06:54am, CarlGundel wrote:
I will add code to transform the 160 character to a 32 character. smiley

-Carl


Okay, can you point me at a specific example on the wiki? I've tried several and found no 160 ASCII characters.

-Carl
User IP Logged

author of Liberty BASIC
http://www.libertybasic.com
hooshnik
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 105
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #12 on: Apr 28th, 2017, 10:47am »

Just confirmed the 160d / A0h bug here with a hex editor. I put it between a print statement and a double quote - got a syntax error. It just looks like a regular space.
User IP Logged

looking for file "include" support? Check out Aplomb Scribe http://libertybasic.conforums.com/index.cgi?action=display&board=open&num=1434746448
G. Rahman
Guru
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1146
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #13 on: Apr 28th, 2017, 12:37pm »


It's going fine here.
But the LSN part doesn't show the new toolbar icons yet.

Keep the good things going ....

Gordon
User IP Logged

Gordon Rahman

http://www.libertybasic.nl
Rod
Global Moderator
ImageImageImageImageImage


member is online

Avatar

Graphics = goosebumps!


PM

Gender: Male
Posts: 5585
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #14 on: Apr 28th, 2017, 2:29pm »

If I use this code from the wiki

http://lbpe.wikispaces.com/Textbox+with+Columns

and indeed any other code from the wiki

and copy and paste to the ide I immediately get a compile error with the first 160 character highlighted in blue.

I am on Win 10 using Edge browser.

Edit: just tried Chrome and it copies and pastes the code without the 160 character. sad Lots of folks will use Edge so a solution might come from MS but failing safe with 160=32 might be still be a good fix.
« Last Edit: Apr 28th, 2017, 2:33pm by Rod » User IP Logged

Pages: 1 2  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