1. segments and offsets
- Posted by mike burrell <mikpos at GAIANET.NET> Feb 11, 1997
- 995 views
i fear this may have been discussed here before so i apologise now for going over old stuff anyway... i want to know how i can get the segment and offset of a variable... thx ...oooO MikPos of MARTYR Oooo... ..ooO http://www.geocities.com/SoHo/9036 Ooo.. ....oooO mike burrell OOooo....
2. segments and offsets
- Posted by Robert Craig <robert_craig at COMPUSERVE.COM> Feb 13, 1997
- 999 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