Re: DEF USR and strings?

Sean Conner via Coco <coco-uNHYcr1XS/wmlAP/[email protected]>
Newsgroups gmane.comp.hardware.tandy.coco
Message-ID <[email protected]>
It was thus said that the Great Allen Huffman via Coco once stated:
> > On Oct 29, 2025, at 6:15 PM, Bruce Borer via Coco <[email protected]> wrote:
> > 
> > I do not know what can and cannot be done (yet) but can you pass the
> > address (number) of the string and use the pointer in USRn to do what you
> > want?
> 
> Yes, the way we’ve always done it is to use VARPTR. I have an article
> series on my site where I dove into how that worked.
>
> But, earlier this year I saw someone post saying you didn’t need to use
> VARPTR. That stuck in the back of my mind until I had time to revisit the
> subject (now). That would make things much easier.

  Yes, that probably was my blog posts:

	https://boston.conman.org/2024/11/26.2-3

where I go into how to use DEFUSR with Color BASIC and Extended Color BASIC.

  -spc


-- 
Coco mailing list
[email protected]
https://pairlist5.pair.net/mailman/listinfo/coco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.