Page 1 of 1

AT$ sytax appears to be incorrect

Posted: Mon Feb 17, 2025 9:13 pm
by jjarrell
This might be a coco 3 thing but it appears AT$(y,x) works correctly instead of AT$(x,y).

Re: AT$ sytax appears to be incorrect

Posted: Mon Feb 17, 2025 10:39 pm
by spotlessmind1975
Hi jjarrell, and thank you for your bug report! :D
jjarrell wrote: Mon Feb 17, 2025 9:13 pm This might be a coco 3 thing but it appears AT$(y,x) works correctly instead of AT$(x,y).
Actually, there is something that doesn't work well. I'm doing more in-depth tests, to reproduce the anomaly, and I discovered a series of imperfections, related to interference with console management. I'm therefore carrying out a series of bug fixing, which I hope to conclude tomorrow. Please have a little patience, so that I can release a cumulative COLDFIX.

Thank you again!

Re: AT$ sytax appears to be incorrect

Posted: Tue Feb 18, 2025 4:10 pm
by jjarrell
Thanks for taking a look. Not to worry. I have plenty of patience.
I'll have to update my code snippet I posted after the fix since I posted it with AT$(Y,X) syntax.

Re: AT$ sytax appears to be incorrect

Posted: Tue Feb 18, 2025 6:30 pm
by spotlessmind1975
Hi jjarrell!
jjarrell wrote: Tue Feb 18, 2025 4:10 pm I'll have to update my code snippet I posted after the fix since I posted it with AT$(Y,X) syntax.
Ok, problem solved! :D

You should be so kind to get the latest COLDFIX ([20250218]), using UGBASIC-IDE or on this page.
The syntax is the one described on the manual page (16.24 AT (function)) or on the web page.

Code: Select all

s = AT$(x, y)
Thank you again!

Re: AT$ sytax appears to be incorrect

Posted: Fri Feb 21, 2025 5:45 pm
by jjarrell
After looking back at my code, it looks like I was the one that had my x's and y's turned around.
But if I accidentally helped you make an improvement, I guess it's all is good!
Everything appears to work as intended.