Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Tom Rettigs Library - call _offset with <memvar name>, <return memvar name> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CALL _OFFSET WITH <memvar name>, <return memvar name>
 Evaluates the location of a variable in memory.
 Returns <expC> offset address of <memvar name> as a hexadecimal string.

 Used in Summer '87 only.  See OFF() for an explanation.

 <memvar name> of memory variable whose offset address is desired.
 <return memvar name> is character variable used to return the offset address.

 This procedure is called by the OFF() function.
 It can also be called directly from a Clipper program.

 m_numvar = 123.45
 m_offset = SPACE( 4 )
 CALL _OFFSET WITH m_numvar, m_offset
 * m_offset contains offset address of m_numvar


             Placed in the Public Domain by Tom Rettig Assoc.

See Also: OFF() SEG() _SEGMENT

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson