[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FN_POKESTR()
 Write a string of bytes to memory
------------------------------------------------------------------------------
 Syntax
 
       fn_PokeStr( <nSegment>, <nOffset>, <cBinStr> ) -> NIL
 
 Arguments

      <nSegment> is the memory segment to write to.

      <nOffset> is the starting offset from <nSegment> to write at.

      <cBinStr> is a string of bytes to write.

 Returns

      Nothing.

 Description

      Use this function to perform memory write to a contiguous block of
      memory.

      If you plan to perform consecutive memory write to memory, for
      instance in copying an array of binary strings to memory, pass
      <nOffset> by reference to keep it updated in the calling routine.

 Examples

      /* write an array to a block in memory */

                  nSeg := <...>                                                                 // initialize pointers to
      nOff := <...>                           //  desired memory location

      AEVAL( aMemValues, {|e| fn_PokeStr( nSeg, @nOff, e ) }


 Source: N:\SRC\MISC\FNPEEK.PRG

 Author: Steve Larsen

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