segments and offsets
- Posted by Robert Craig <robert_craig at COMPUSERVE.COM> Feb 13, 1997
- 1017 views
Mike Burrell writes: > anyway... i want to know how i can get the segment and offset of a > variable... thx See demo\dosint.ex for an example of converting an address to segment-offset form. There is no way in Euphoria of getting the address of a variable. You have to use allocate() or allocate_low() to reserve a block of memory and get its address. You can then use poke and peek to store/retrieve information from memory. Regards, Rob Craig Rapid Deployment Software