RUNE (ALIAS) ¶ TYPE RUNE : UTF8.|dRUNE| The term rune appears in the libraries and source code, and means exactly the same as “unicode code point”, with one interesting addition. This library defines the word rune as an alias for the type DINT , so programs can be clear when an integer value represents a code point. Moreover, what you might think of as a character constant is called a rune constant. The type and value of the expression WSTRING#"⌘" is a rune with the integer value DINT#16#2318 .
IRange.GetNextRune (METH) ¶ METHOD GetNextRune : RUNE Unpacks the next UTF-8 encoding in a IString instance and returns the rune and its position and length in bytes. InOut: Scope Name Type Comment Return GetNextRune RUNE Output udiLength UDINT Returns the length of rune in bytes eErrorID ERROR Check error message for better diagnostics
IRange.Reset (METH) ¶ METHOD Reset : ERROR Set back the original state of this IRange instance InOut: Scope Name Type Return Reset ERROR
IRange.UngetLastRune (METH) ¶ METHOD UngetLastRune : ERROR Undo the last call of GetNextRune . This allow to restore the state of this IRange instance. InOut: Scope Name Type Return UngetLastRune ERROR
IRangePool (ITF) ¶ INTERFACE IRangePool EXTENDS IDisposable Methods: GetRange GetPoolStatus ObjectDispose , inherited from IDisposable ObjectRelease , inherited from IDisposable ObjectRetain , inherited from IDisposable Structure: GetRange (Method) Internal GetPoolStatus (Method)
IRangePool.GetRange (METH) ¶ METHOD GetRange : IRange Returns an IRange instance out of an IStringRepresentation InOut: Scope Name Type Comment Return GetRange IRange Input itfStrRep IStringRepresentation String representation, which the range is returend from Output eErrorID ERROR Check error message for better diagnostics
Internal ¶ GetPoolStatus (Method)
IRangeProvider (ITF) ¶ INTERFACE IRangeProvider EXTENDS __SYSTEM.IQueryInterface An IStringRepresentation instance can additionally implement this interface. This way it is possible to iterate over its content rune by rune See : IRange Methods: GetRange Structure: GetRange (Method)
IRangeProvider.GetRange (METH) ¶ METHOD GetRange : IRange returns a IRange implementation for the related IStringRepresentation InOut: Scope Name Type Comment Return GetRange IRange Output eErrorID ERROR Check error message for better diagnostics