Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Clarion in general: Reference variable to get a value from an address 2004-03-12 -- Brent Stock Newsgroups: softvelocity.clarion.language
> Thanks for the link. I figured out what I was doing wrong. I ended up
> using memcpy(). It all works like a charm now.
I had a similar problem and used memcpy as well but found a better solution
is to declare a refernce variable that points to a group/variable defined
the same as the memory area pointer at by the returned value and then...
LocalPTR &= (ReturnedPTR) !Note the brackets
The you can use it as you would normally LocalPTR.myfield = xyz etc
Brent Stock
Today is November 21, 2024, 7:22 am This article has been viewed 35212 times. Google search has resulted in 26 hits on this article since January 25, 2004.
|
|