Overview
Writes a string (including the ending '0') to the specified memory address. Range: unlimited.
(number) Address of Memory.
(string) Text String that filled in memory.
(number) Number of char that you want filled in memory, if you want fill all char in text set it -1.
(number) Put string in memory as unicode, ascii or utf8 (this parameter now is optional and default is ascii).
Nothing.
mem = Memory.Allocate(1024) Memory.PutString(mem, "Im in Your Memory", -1, "Ascii") Dialog.Message("", Memory.GetString(mem, -1, "Ascii")) -- Print Im in Your Memory Memory.PutString(mem, "Im in Your Memory", 7, "Ascii") Dialog.Message("", Memory.GetString(mem, -1, "Ascii")) -- Print Im in Y Memory.Free(mem)
See also: Related Actions