@SMWRITE[n,offset,type,string] : Write a string to shared memory
n - The shared memory handle returned by @SMOPEN
offset - The offset (in bytes) from the beginning of the shared memory buffer.
type - Either a to write the string as ASCII or u to write it as Unicode.
string - The string to write.