Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

@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:



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.




set handle=%@balloc[128]

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