@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. Strings will always be terminated by a null byte (ASCII) or word (Unicode).

 

@BPOKESTR returns 0 on success.

 

Example:

 

set handle=%@balloc[128]

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