Search found 13 matches

by Rod
Sun Feb 23, 2025 3:49 pm
Forum: Liberty BASIC Language
Topic: Reading metadata (id3 tag) of *.mp3 files
Replies: 6
Views: 8208

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

Oh, I see that LBB displays the UTF as a single character stream. I wonder then if once fetched it is a normal asc stream?

Edit, no, of course not, it stays as a UTF string until we change it. But in LBB it will display normally.
by Rod
Sun Feb 23, 2025 3:11 pm
Forum: Liberty BASIC Language
Topic: Reading metadata (id3 tag) of *.mp3 files
Replies: 6
Views: 8208

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

While I have not got LBB loaded on my current PC I have coded this. Not sure I understand why there would be a difference running under LBB. The issue for me is that while the file may be UTF encoded the data bytes are still bytes. So the tags and size bytes are just normal. The issue is in reading ...
by Rod
Mon Dec 18, 2023 5:19 pm
Forum: BASIC code examples
Topic: Chess Version 2.5
Replies: 7
Views: 19108

Re: Chess Version 2.5

No, it’s my fault because I was also told that I had reused a handle but did not realise the significance. It is where I open a window to gauge the size of the client area and then reuse that handle later in the code. Both issues are probably bad practice on my part. But the handle reuse obviously s...
by Rod
Mon Dec 18, 2023 1:44 pm
Forum: BASIC code examples
Topic: Chess Version 2.5
Replies: 7
Views: 19108

Chess Version 2.5

I have been advised that my LB Chess program does not run correctly in LBB. Not sure I fully understand what the issue is but it is an easy fix. It seems I need to save and restore a Global value when exiting a recursive loop. Here is the section of code that needs fixed. This is a link to the origi...
by Rod
Mon Sep 06, 2021 7:45 am
Forum: Liberty BASIC Language
Topic: 'include filename.bas
Replies: 16
Views: 36150

Re: 'include filename.bas

I believe the LBW download is still available on Alyce's site. The problem seems to be browser based, a casual click gets ignored. On my iMac I need to Command Click to get the download started and I also need to Allow downloads from her site. Nanny state again. I know it is different for Windows, t...
by Rod
Fri Nov 13, 2020 3:34 pm
Forum: Showcase
Topic: Run 'Lemmings' in your browser!
Replies: 2
Views: 11357

Re: Run 'Lemmings' in your browser!

I have just noticed, the picture gives the game play away! But, who cares its still just fun, brings a smile to my face as soon as the music starts.
by Rod
Fri Oct 09, 2020 10:48 am
Forum: General Board
Topic: A disaster
Replies: 3
Views: 12912

Re: A disaster

I can thoroughly recommend Richard's preferred virus checker. The first thing I do with a new PC is delete whatever checker has been bundled with the package and install Windows Defender. I have been using it for more than fifteen years and never encountered a problem. It is a fully comprehensive pa...
by Rod
Wed Aug 29, 2018 10:27 am
Forum: BASIC code examples
Topic: Formatting Numeric Input
Replies: 42
Views: 138586

Re: Formatting Numeric Input

I am not sure I am solving the actual problem but I made a small change to your function to handle -.123 it now returns -0.123 txt$=".123" print txt$,len(txt$),num$(txt$),len(num$(txt$)) txt$="0.123" print txt$,len(txt$),num$(txt$),len(num$(txt$)) txt$="-.123" print txt...
by Rod
Thu Apr 19, 2018 6:15 pm
Forum: General Board
Topic: I HAVE BEEN BANNED FROM THE LB FORUM!!!
Replies: 10
Views: 29092

Re: I HAVE BEEN BANNED FROM THE LB FORUM!!!

Since I am being painted as the villain I will correct a thing or two if I may. may not be promoted There is a keyword in there, "promoted". Before anyone argues there is a difference between the words mentioned, recommended and promoted. Rods attitude towards forum members That should rea...
by Rod
Sun Apr 08, 2018 7:40 pm
Forum: General Board
Topic: Technical Wiki
Replies: 11
Views: 34563

Re: Technical Wiki

You will get more positive activity.