Search found 208 matches
- Sun Jun 08, 2025 9:47 am
- Forum: Debugger
- Topic: "Missing , at line 0"
- Replies: 1
- Views: 432
Re: "Missing , at line 0"
How do I find my mistake in my code when the error message "Missing , at line 0" appears at program launch? The error is occurring in an 'unnumbered' line (line 0) and I would not expect there to be many of those in your program: LBB normally allocates line numbers, even if your original ...
- Sun May 11, 2025 5:38 pm
- Forum: General Board
- Topic: Programming with AI
- Replies: 2
- Views: 1743
Re: Programming with AI
If you happen to have an X account you can use Grok for free but it is limited to 18 questions per every 2 hours. Try it out, you’ll be amazed! I mainly use DeepSeek for writing - and reviewing - code; it's free and unlimited (at the moment). It's pretty competent at BBC BASIC but obviously not as ...
- Mon Apr 07, 2025 8:57 pm
- Forum: Liberty BASIC Language
- Topic: bbc graphics comands with lbb graphics window
- Replies: 2
- Views: 3489
Re: bbc graphics comands with lbb graphics window
No, a graphics window isn't a BBC BASIC window.Adamkonrad wrote: ↑Mon Apr 07, 2025 8:32 pm Is it possible to direct bbc graphics commands to graphic window created in LBB?
You could presumably use the GetPixel Windows API function for that.Especially to read the POINT color value?
- Mon Apr 07, 2025 8:48 pm
- Forum: Liberty BASIC Language
- Topic: Reading metadata (id3 tag) of *.mp3 files
- Replies: 6
- Views: 8200
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...
- Sun Mar 02, 2025 10:21 am
- Forum: Compiler
- Topic: LB window not closing on program exit
- Replies: 2
- Views: 4356
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 ...
- Wed Feb 19, 2025 10:00 pm
- Forum: Liberty BASIC Language
- Topic: Reading metadata (id3 tag) of *.mp3 files
- Replies: 6
- Views: 8200
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...
- Wed Feb 12, 2025 11:17 pm
- Forum: Liberty BASIC Language
- Topic: Reading metadata (id3 tag) of *.mp3 files
- Replies: 6
- Views: 8200
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...
- Mon Feb 03, 2025 12:14 pm
- Forum: General Board
- Topic: Where can we download version 3.21?
- Replies: 2
- Views: 6170
- Wed Jan 29, 2025 9:48 am
- Forum: General Board
- Topic: Where can we download version 3.21?
- Replies: 2
- Views: 6170
- Fri Jan 10, 2025 11:15 pm
- Forum: General Board
- Topic: SENDING PRINTER ESCAPE CODES WITH LPRINT
- Replies: 1
- Views: 2788