@BPOKESTR

<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Variables & Functions > Functions >

@BPOKESTR

@BPOKESTR[handle,offset,type,string] : Write a string to a binary buffer.

 

handle - a binary handle from @BALLOC

 

offset - the byte offset in the buffer (decimal or hex)

 

type - the type of the string to write:

 

a - ASCII

u - Unicode

 

string - the string to poke

 

@BPOKESTR returns 0 on success.

 

Example:

 

set handle=%@balloc[128]

set value=%@bpokestr[%handle,0,a,string value]