As some of you suspected, I am using UTF-8 (and I wouldn't usually need to switch), but presumably a better encoding to use is ANSI... right?
The corruption has completely sorted itself out - all I had to do was get shot of the local variables line. Though I'll try that trick with three LOCal lines and see if it still works.
The program is now complete! Likely as not it won't see the light of day before Christmas - it's not up to me to release it - but it'll get there.
A round of extra beansprouts in your next chow mein to all who helped!
My listing is eating itself...?
Re: My listing is eating itself...?
Spectribution: Dr. Jim's Sinclair computing pages.
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
Features my own programs, modified type-ins, RZXs, character sets & UDGs, and QL type-ins... so far!
- NormanDunbar
- Forum Moderator
- Posts: 2470
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
Re: My listing is eating itself...?
The locals problem is a bug. 9 is the limit. Maybe SMSQ has fixed the problem of course.
Even with ANSI encoding, the QL character set doesn't completely match up. I think £ # (c) Euro give problems. Maybe more.
Cheers,
Norm.
Even with ANSI encoding, the QL character set doesn't completely match up. I think £ # (c) Euro give problems. Maybe more.
Cheers,
Norm.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: My listing is eating itself...?
Just with JS Rom (I thought...or was it JM?).NormanDunbar wrote:The locals problem is a bug. 9 is the limit.
7000 4E75
- NormanDunbar
- Forum Moderator
- Posts: 2470
- Joined: Tue Dec 14, 2010 9:04 am
- Location: Buckie, Scotland
- Contact:
Re: My listing is eating itself...?
I've only had JS ROMs, so I'm almost certain it failed on that too.
Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Author of Arduino Software Internals
Author of Arduino Interrupts
No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
Re: My listing is eating itself...?
Ah, ok, so I was a bit rightNormanDunbar wrote:I've only had JS ROMs, so I'm almost certain it failed on that too.

7000 4E75
Re: My listing is eating itself...?
Always a good idea to familiarise yourself with the list of ROM bugs in the various ROM versions. Simon and Mark did a fantastic job with those articles - there are so many potential problems in there which just add to the difficulty of debugging basic programs if you don't know about them.
Seriously, UTF8 may be OK as long as you stick to QL character codes below 128, and are aware of the minor differences of a few characters such as the pound, hash, and copyright, I think those would still persist with ANSI.

...so your next job will be to write a character conversion filter programTMD2003 wrote:As some of you suspected, I am using UTF-8 (and I wouldn't usually need to switch), but presumably a better encoding to use is ANSI... right?

Seriously, UTF8 may be OK as long as you stick to QL character codes below 128, and are aware of the minor differences of a few characters such as the pound, hash, and copyright, I think those would still persist with ANSI.
Yuk, no thanks!TMD2003 wrote:A round of extra beansprouts in your next chow mein to all who helped!

--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
- janbredenbeek
- Super Gold Card
- Posts: 673
- Joined: Wed Jan 21, 2015 4:54 pm
- Location: Hilversum, The Netherlands
- Contact:
Re: My listing is eating itself...?
I've had similar experiences with too many LOCals on JS. Minerva and SMSQ are fine.NormanDunbar wrote:The locals problem is a bug. 9 is the limit. Maybe SMSQ has fixed the problem of course.
Jan