`
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 Printed November 23, 2024, 8:16 pm This article has been viewed/printed 35217 times. Google search has resulted in 26 hits on this article since January 25, 2004. |