COPY_TO_MEMORY (FUN)ΒΆ
FUNCTION COPY_TO_MEMORY : UDINT
Copies an IStringRepresentation into a desired memory block.
Type of the
itfString can be IBuilder, IString or just an IStringRepresentation.- InOut:
Scope
Name
Type
Initial
Comment
Return
COPY_TO_MEMORYUDINTInput
itfStringString interface, which is written in memory
pbyMemoryPOINTER TO BYTE
Pointer to the first byte of memory block
udiSizeUDINTSize of the memory block in bytes
eEncodingENCODING.UTF8
Encoding type, default value is utf8
Output
eErrorIDCheck error output value for better diagnostics