1. segments and offsets
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
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