COPY_TO_STRING (FUN)ΒΆ
FUNCTION COPY_TO_STRING : UDINT
Copies an IStringRepresentation into a memory block of a string.
Type of the
itfString can be IBuilder, IString or just an IStringRepresentation.- InOut:
Scope
Name
Type
Initial
Comment
Return
COPY_TO_STRINGUDINTInput
itfStringpbyValuePOINTER TO BYTE
Pointer to the first byte of string instance, e.g. pbyValue := ADR(myStringInstance)
udiSizeUDINTSize of the string in bytes, e.g. udiSize := SIZEOF(myStringInstance)
itfCharmap0
The default depends on the project setting for string encoding
Output
eErrorIDCheck error output value for better diagnostics