[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
peek() Examine Memory Location
#include <dos.h>
int peek(segment,offset);
int segment; Segment
unsigned offset; Offset
peek() examines the memory location addressed by 'segment:offset'.
Returns: The value stored at the memory location 'segment:offset'.
A word is returned.
Notes: If <dos.h> is included, peek() is treated as a macro. If
<dos.h> is not included or #undef is used on it, the
function peek() will be used.
See Also:
harderr()
peekb()
poke()
pokeb()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson