Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfpeek()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPeek()
Reads a CHAR from memory
------------------------------------------------------------------------------
Syntax:

     dfPeek( <nSeg>, <nOfs> ) --> nMemory

Parameters:

     <nSeg>     Memory segment.
     <nOfs>     Memory offset.

Returns:

     <nMemory> Value read in memory.

Description:

     Reads a CHAR from memory.

Example:

     @ 0, 0 SAY "Mister"
     
     // Reads the first character on the screen "M"
     ? dfPeek( dfHex2Dec("B800"), 0 )

See also:

     dfHex2Dec(), dfPoke(), dfPspSeg()

See Also: dfHex2Dec() dfPoke() dfPspSeg()

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