Euphoria equivalent to C typecasting
- Posted by Jonas Temple <jtemple at yhti.net> Aug 02, 2004
- 535 views
All, Dumb question time. I'm trying to come up with the Euphoria equivalent of the following code that gets a floating point value from a spot in memory: longBuffer = (long *) (dataBuffer + bufferIndex); sprintf(prtBuffer+bufferCount+columnInfo[colIndex].width-11, "%11ld", *longBuffer); longBuffer is defined as "long * longBuffer;" Any ideas? Thanks, Jonas