Navigation:  Reference > Functions By Category > Peek and Poke >

PokeWordNet()

Previous pageReturn to chapter overviewNext page

Retrieve the value of one or more WORDs from the memory buffer pointed by <pMem> starting at the position <nShift>.

 

Syntax:

PokeWordNet(<pMem>,[[@]<nShift>],<nValue>,...) -> <nBytesWriten>

PokeWordNet(<pMem>,[[@]<nShift>],<aValues>) -> <nBytesWritten>

 

Parameters:

<pMem>

Base pointer to the memory buffer.

 

<nShift>

Zero based starting position within <pMem>. Is this parameter is passed by reference will be increased with the number of bytes retrieved, to reuse it in subsequent calls to Peek...() functions.

 

<nValue>, ...

Numeric WORD value to write at <pMem>+<nShift>. You can provide more parameters to write multiple WORDs within a single call.

 

<aValues>

Array of numeric WORD values to write at <pMem>+<nShift> and subsequent positions.

 

Return Value:

Number of written bytes.