IString.GetSegment (METH)ΒΆ

METHOD GetSegment : POINTER TO BYTE

This method returns the memory segment of string instance
Return value POINTER TO BYTE is the pointer to the first byte of the memory
InOut:

Scope

Name

Type

Comment

Return

GetSegment

POINTER TO BYTE

Output

udiSize

UDINT

Size of the memory in bytes

udiLength

UDINT

Number of bytes currently allocated to the string data

xASCII

BOOL

All characters are in the ASCII range

eErrorID

ERROR