AT$ sytax appears to be incorrect

This forum is dedicated to those who want support programming in ugBASIC.
Questo forum è dedicato a chi desidera supporto per programmare in ugBASIC.
Ce forum est dédié à ceux qui souhaitent prendre en charge la programmation en ugBASIC.
Post Reply
jjarrell
Posts: 36
Joined: Tue Jan 28, 2025 5:35 pm

AT$ sytax appears to be incorrect

Post by jjarrell »

This might be a coco 3 thing but it appears AT$(y,x) works correctly instead of AT$(x,y).
spotlessmind1975
Site Admin
Posts: 200
Joined: Fri Oct 06, 2023 8:25 pm

Re: AT$ sytax appears to be incorrect

Post 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!
jjarrell
Posts: 36
Joined: Tue Jan 28, 2025 5:35 pm

Re: AT$ sytax appears to be incorrect

Post 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.
spotlessmind1975
Site Admin
Posts: 200
Joined: Fri Oct 06, 2023 8:25 pm

Re: AT$ sytax appears to be incorrect

Post 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!
jjarrell
Posts: 36
Joined: Tue Jan 28, 2025 5:35 pm

Re: AT$ sytax appears to be incorrect

Post 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.
Post Reply