Search found 206 matches

by guest
Mon Apr 07, 2025 8:57 pm
Forum: Liberty BASIC Language
Topic: bbc graphics comands with lbb graphics window
Replies: 2
Views: 986

Re: bbc graphics comands with lbb graphics window

Adamkonrad wrote: Mon Apr 07, 2025 8:32 pm Is it possible to direct bbc graphics commands to graphic window created in LBB?
No, a graphics window isn't a BBC BASIC window.
Especially to read the POINT color value?
You could presumably use the GetPixel Windows API function for that.
by guest
Mon Apr 07, 2025 8:48 pm
Forum: Liberty BASIC Language
Topic: Reading metadata (id3 tag) of *.mp3 files
Replies: 6
Views: 4900

Re: Reading metadata (id3 tag) of *.mp3 files

Edit, no, of course not, it stays as a UTF string until we change it. But in LBB it will display normally. "UTF string" is ambiguous. You need to specify whether it's UTF-8, UTF-16LE, UTF-16BE, UTF-32LE or UTF-32BE. BBC BASIC (which is what LBB is using under the hood) uses UTF-8 internal...
by guest
Sun Mar 02, 2025 10:21 am
Forum: Compiler
Topic: LB window not closing on program exit
Replies: 2
Views: 2185

Re: LB window not closing on program exit

Is my assumption about the -A parameter incorrect? LB Booster (LBB.exe) and your 'compiled' BASIC program run in entirely separate Windows processes. This is valuable, because it means that however badly your BASIC program might crash, it cannot bring down the LBB process with it (with the loss of ...
by guest
Wed Feb 19, 2025 10:00 pm
Forum: Liberty BASIC Language
Topic: Reading metadata (id3 tag) of *.mp3 files
Replies: 6
Views: 4900

Re: Reading metadata (id3 tag) of *.mp3 files

I'll have a look at the API but my inexperience there will probably keep me away from that solution. Fair enough. The API is the best approach if you want to retain accents and foreign-language characters, and you should have no trouble finding existing Liberty BASIC code to call it that you can co...
by guest
Wed Feb 12, 2025 11:17 pm
Forum: Liberty BASIC Language
Topic: Reading metadata (id3 tag) of *.mp3 files
Replies: 6
Views: 4900

Re: Reading metadata (id3 tag) of *.mp3 files

This code will give different results when run in LB or LBB. You can see from your hex dump that the text you are reading from the MP3 file is encoded in Unicode (UTF-16) format. Indeed there is an explicit UTF-16 BOM ( Byte Order Mark ) FF FE immediately preceding the text. If you make allowance i...
by guest
Mon Feb 03, 2025 12:14 pm
Forum: General Board
Topic: Where can we download version 3.21?
Replies: 2
Views: 4505

Re: Where can we download version 3.21?

guest wrote: Wed Jan 29, 2025 9:48 am I'll put the files back.
An acknowledgement would be appreciated.
by guest
Wed Jan 29, 2025 9:48 am
Forum: General Board
Topic: Where can we download version 3.21?
Replies: 2
Views: 4505

Re: Where can we download version 3.21?

RiccardoS wrote: Tue Jan 28, 2025 10:13 pm The file that gets downloaded from the site is version 3.10.
Strange, it shouldn't be. Maybe the site had to be restored from an old backup or something. I'll put the files back.
by guest
Fri Jan 10, 2025 11:15 pm
Forum: General Board
Topic: SENDING PRINTER ESCAPE CODES WITH LPRINT
Replies: 1
Views: 1544

Re: SENDING PRINTER ESCAPE CODES WITH LPRINT

CryptoMan wrote: Fri Jan 10, 2025 9:33 pm How can we send RAW Printer Escape codes to DOT MATRIX LEXMARK 2580 printer connected with a USB cable?
Does this help at all?
by guest
Thu Dec 19, 2024 4:41 pm
Forum: General Board
Topic: Merry Christmas
Replies: 2
Views: 2147

Re: Merry Christmas

I've just started trying to program again and it's amazing how quickly you forget the keywords and programming procedures. I know I'm getting old, but I didn't think I'd forget so much, so quickly. It's like being a novice again. I have forgotten virtually everything I ever knew about Liberty BASIC...
by guest
Fri Oct 11, 2024 9:05 pm
Forum: Suggestion Box
Topic: Lbbooster for SDL
Replies: 3
Views: 6319

Re: Lbbooster for SDL

Can we move away to some cross platform toolkits like iup or fltk or wxWidgets? There are some GUI toolkits that are designed specifically to work with SDL 2 but I don't know how compatible any of them are with the Windows GUI. There's also the issue of how easily they could be interfaced with BBC ...