7.5

Table Of Contents
Arguments
expression1, expression2
Values of any type. Both expressions must be of the same type.
Code Sample Example
This example shows both ways of comparing two expressions.
Example
if(lt(&current.line, 15))
show('Top of page')
endif()
%Same statement, using the < operator
if(&current.line < 50)
show('Top of page')
endif()
MapUTF8 (function)
Converts a text string from its original encoding to UTF8. This function can be used within a ShowUTF8, ShowUTF8Left, a Sho-
wUTF8Right, and a ShowUTF8Center procedure.
Syntax
maputf8( text, encoding, reversedmapping )
Arguments
text
Static text string or data selection to be converted.
encoding
String identifying the original encoding or reference to a style defined in the document that identifies the original encoding.
reversedmapping
Boolean specifying whether the text to be converted should be mapped in regular or reversed order. Possible values are true
(reversed mapping) and false (no reversed mapping). In the case of preformated Arabic data, this argument should be set to
false.
Supported Encodings
The following Arabic original encodings are supported for the conversion process:
AL-ARABI ASMO-708 ASMO-708-UNIX IBM-864 ISO-8859-6 (Arabic)
ASMO-449+ ASMO-708+ HP-ARABIC8 IRAN SYSTEM MS-CP-1256
©2010 Objectif Lune Inc - 301 -