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

Welcome Guest. Please Login or Register.
Dec 12th, 2017, 08:01am


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 589 times)
Rod
Global Moderator
ImageImageImageImageImage


member is offline

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 offline

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

thejoecole
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 34
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #15 on: Apr 28th, 2017, 3:41pm »

I don't pretend to understand the 160 or 32 character issue, but I did try to replicate what Rod mentioned and believe it may be browser specific.

When I copied the code from the wiki

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

and brought it into LibertyBASIC from the MS Edge browser, I received the following message: "Basic Compile Halted: Syntax Error"


When I did the same copy/paste from Chrome, Vivaldi, and Firefox it ran just fine on my Windows 10 system.

Just a thought...
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
Brandon Parker
Board Moderator

member is offline

Avatar




PM

Gender: Male
Posts: 1120
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #16 on: Apr 28th, 2017, 3:54pm »

In the event that a reboot is always working for getting the icon to appear correctly on the .LNK (shortcut) then you might be able to just restart explorer.exe; this should force a refresh of the icon cash. In the event that it doesn't work then you could kill explorer.exe, delete the user's IconCache.db file under their appdata folder, and restart explorer.exe.

I'm pretty sure there is a more elegant way to force this, but the methods above should work.


{:0)

Brandon
User IP Logged

Windows 7 Home Premium 64-bit Intel(R) Quad Core(TM) i5 CPU M 430 @ 2.27GHz 4GB DDR3 RAM
robmcal
Senior Member
ImageImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 399
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #17 on: Apr 28th, 2017, 5:21pm »

The installer I use for my program (Inno Setup) has a section that sets up file associations. When that part runs it refreshes icon cash.
User IP Logged

Definition of an Upgrade: Take old bugs out, put new ones in.
BeeTrap
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 21
xx Re: Liberty BASIC v4.5.1 beta 2
« Reply #18 on: Apr 29th, 2017, 07:17am »

Please be careful when deleting the Icon Cache in Windows 10. Things have changed quite a bit. Please look at:
https://www.howtogeek.com/232779/how-to-rebuild-a-broken-icon-cache-in-windows-10/
This is a very detailed description of the MANY files involved.
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 #19 on: Apr 29th, 2017, 10:18am »

I don't think it is a big problem. I consider this icon issue an OS hiccup, since we are beta testing, and there are some identicall shortcuts on these b1 and b2 distributions.
The system cache should clean itself after a while.
User IP Logged

cundo
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