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

PokeStr()

Previous pageReturn to chapter overviewNext page

Store one or more substrings into the memory buffer pointed by <pMem> starting at position <nShift>.

 

Syntax:

PokeStr(<pMem>,[[@]<nShift>],<cStr>) -> <nBytes>

PokeStr(<pMem>,[[@]<nShift>],<aStr>) -> <nBytes>

 

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 stored, to reuse it in subsequent calls to Peek...() functions.

 

<cStr>

String to write into memory.

 

<aStr>

Array with the strings to write into memory.

 

Return Value:

Number of bytes written.