SETVISUALORDER

The SETVISUALORDER function converts a bidirectional data object from logically ordered to visually ordered.

This function can only be used with bidirectional data.

Syntax:
SETORDERVISUAL (single-text-expression , single_text_expression)
Meaning:
SETORDERVISUAL (text_object , text_object)
Returns:
A visually ordered text object.
When HCL Link processes bidirectional data, this function changes the order scheme of the text object that is passed as a parameter.
Example
SETVISUALORDER(SETORIENTATIONRTL(LSRTLData:In1,"FALSE"), "FALSE")

True or false indicates whether the text object has symmetric swapping enabled. A visual ordering scheme would have the data being read and stored with the start character in the rightmost position in both memory and visually.