SetSegment (FUN)ΒΆ
FUNCTION SetSegment : IString
Initializes the passed IString instance and uses the specified memory area for this purpose
Example for a 80 byte IString instance:
abyMemory : ARRAY[0..79) OF BYTE;
   myString : _UTF8String;
itfString : IString := SetSegment(myString, ADR(abyMemory), SIZEOF(abyMemory), 0);
- InOut:
- Scope - Name - Type - Comment - Return - SetSegment- Input - itfStringString instance of an- _UTF8String|- pbyMemory- POINTER TO BYTE Pointer to the first byte of the memory.This address should aligned to a- __XWORDboundary!- udiSize- UDINTSize of the whole allocated memory- udiLength- UDINTLength of the segment in bytes- Output - eErrorID
