|
Post by Carl Gundel on May 19, 2019 20:10:27 GMT -5
Here is the list of stuff for build 350 so far. Sorry for the delay on this. It's been a crazy last few weeks. I still want to add ODBC support for this build.
- Added the SpecialKey$ global variable for capturing special keys in the graphics window. If keys such as Page Up, F1, Home, etc. are pressed when the "when characterInput" feature is specified, the value of the keypress will be assigned to SpecialKey$ in the form of "PAGEUP", "F1", "HOME", etc.
- Fixed the setfocus feature of the graphicbox and graphics windows. It wasn't doing anything for #handle "setfocus" and it wasn't implemented at all for #handle setfocus().
- Implemented upto$() function from LB4.
- Implemented replstr$() function from LB4.
- Implemented remchar$() function from LB4.
- Implemented endswith() function from LB4.
- Implemented after$() function from LB4.
- Implemented afterlast$() function from LB4.
- Added HTTPS support for httpget$() function.
- Fixed #graphics set(x, y) to use the pen size to draw larger pixels.
- Enabled the BASIC Source Code Path option in the preferences dialog.
- Optimized some graphics drawing to make things a little faster.
- Fixed #text selectall(). Note that the window must be active for the selection to be visible. This will be fixed later.
- Fixed the not understood error using LOF() on Linux, MacOS, and Raspian.
- Tweaked the BASIC code editor font to make it slightly smaller. Later the font will be user specifiable.
- Fixed the Tab key handling in the BASIC code editor that it will insert spaces when the tab key is used to make it work like earlier versions of Liberty BASIC.
|
|
|
Post by Carl Gundel on May 20, 2019 8:36:52 GMT -5
Any other particularly urgent requests for a feature or fix to squeeze into build 150?
|
|
|
Post by Gordon Rahman on May 20, 2019 9:58:08 GMT -5
Liberty BASIC 5
cls(255,0,0) doesn't work cls("255 4 200") doesn't work
No big deal, not urgent ... but easy to do now?
I looking forward to the Inkey$ and the when characterInput and the missing sprite commandes
Gordon
|
|
|
Post by Carl Gundel on May 20, 2019 10:52:59 GMT -5
Liberty BASIC 5 cls(255,0,0) doesn't work cls("255 4 200") doesn't work Hey, shouldn't be hard to do, but I'm not sure that cls("255 4 200") is really in the spirit of LB5. cls(255, 0, 0) is the way forward. Oh, and using the name of a color also like so: cls("black")
|
|
|
Post by donnybowers on May 20, 2019 17:49:39 GMT -5
I think you mean build 450, not 150 Carl. LOL
|
|
|
Post by metro on May 20, 2019 18:48:48 GMT -5
I think you mean build 450, not 150 Carl. LOL Wow I've been gone that long...........the last build I played with was 349
|
|
|
Post by donnybowers on May 20, 2019 20:16:09 GMT -5
I think you mean build 450, not 150 Carl. LOL Wow I've been gone that long...........the last build I played with was 349 Oops. I mean 350. LOL
|
|
|
Post by Carl Gundel on May 21, 2019 10:21:48 GMT -5
Liberty BASIC 5 cls(255,0,0) doesn't work cls("255 4 200") doesn't work Hey, shouldn't be hard to do, but I'm not sure that cls("255 4 200") is really in the spirit of LB5. cls(255, 0, 0) is the way forward. Oh, and using the name of a color also like so: cls("black") Done for build 350 (not 150). #cls(redNum, greenNum, blueNum)
|
|
|
Post by Gordon Rahman on May 22, 2019 5:29:26 GMT -5
Wow, I like to read this ... And this would mean: cls() a white window and cls(0) a black window ? That's what LB5 - 349 does at the moment. Is there time left for another small request about the (when ....) not giving the right (syntax) error in one case? Gordon
|
|
|
Post by metro on May 22, 2019 6:26:55 GMT -5
double post ....sorry
|
|
|
Post by metro on May 22, 2019 6:27:07 GMT -5
Sorry to sound like a broken record but is this difficult to achieve with the grid. (if so I'll wait)
|
|
|
Post by Carl Gundel on May 22, 2019 9:18:11 GMT -5
Wow, I like to read this ... And this would mean: cls() a white window and cls(0) a black window ? That's what LB5 - 349 does at the moment. Is there time left for another small request about the (when ....) not giving the right (syntax) error in one case? Gordon Hmmm. cls(0) ? That surprises me. cls(0, 0, 0) gives you black as does cls("black").
|
|
|
Post by donnybowers on May 22, 2019 13:38:53 GMT -5
Wow, I like to read this ... And this would mean: cls() a white window and cls(0) a black window ? That's what LB5 - 349 does at the moment. Is there time left for another small request about the (when ....) not giving the right (syntax) error in one case? Gordon Hmmm. cls(0) ? That surprises me. cls(0, 0, 0) gives you black as does cls("black"). This must only work in Windows. I just tried it in Linux and all I got was a syntax error.
|
|
|
Post by Gordon Rahman on May 23, 2019 6:32:36 GMT -5
I tested the LB5 when("xxxx",) again ... could not find any (syntax) error not reported by LB5..... So I'm sorry if I have let you consumed time on that, please don't search any further.
Gordon
|
|
|
Post by Carl Gundel on May 25, 2019 9:30:24 GMT -5
I tested the LB5 when("xxxx",) again ... could not find any (syntax) error not reported by LB5..... So I'm sorry if I have let you consumed time on that, please don't search any further. Hey Gordon, I'm not sure I understand. Could you expand on this a little? Code examples? Thanks.
|
|