COPY_TO_WSTRING (FUN)ΒΆ
FUNCTION COPY_TO_WSTRING : UDINT
Copies an IStringRepresentation into a memory block of a wstring.
Type of the 
itfString can be IBuilder, IString or just an IStringRepresentation.- InOut:
- Scope - Name - Type - Comment - Return - COPY_TO_WSTRING- UDINT- Input - itfString- pwValue- POINTER TO WORD - Encoding UCS-2 Pointer to the first byte of wstring instance, e.g. pbyValue := ADR(myWStringInstance) - udiSize- UDINT- Size of the wstring in bytes, e.g. udiSize := SIZEOF(myWStringInstance) - Output - eErrorID- Check error output value for better diagnostics 
