[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  XPpeek()
  Return a portion of the Computer Memory
------------------------------------------------------------------------------

   Function:   XPpeek()

               This function returns a Portion of the Computer's Memory.
               Such a function can have numerous purposes, like checking
               some spot in the ROM to ensure yourself of a specific
               brand of computer, to even reading the complete interrupt
               vector table! If you do use this function, ensure yourself
               you know what you're doing. Coming version of the Expand
               Library will contain more functions to help playing around
               with the Environment/Memory of the Computer.

   Syntax:     XPpeek(nSeg,nOfs,nLen) --> cMemory

   Arguments:  nSeg and nOfs define the space of memory
               where you want to "peek". nLen is the length
               of memory to return (64Kb maximum, of course).
               Note that Memory is generally referred to by Hex
               numbers, alas this is not possible directly in
               Clipper, you should convert to "normal" numbers
               using the Hex-Conversion routines found elsewhere.

   Returns:    The Memory peeked, a character string containing
               nLen bytes of binary data.

   Usage:      * - let's store the whole interrupt table!
               cTable := XPpeek(0,0,1024)

See Also: XPpoke()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson