Function name Description
String trim right The function trims the closing characters from a string.
Parameter:
str1 - string variable
Syntax:
<function name="string.trimright" > str1 </
function>
Example:
<let name="str1" type="string"> test trim right
</let>
<function name="string.trimright" > str1 </
function>
Result:
str1 = "test trim right"
Sine The function calculates the sine of the value transferred in degrees.
Parameter:
double - angle
Syntax:
<function name="sin" return="<double val>"> double
</function>
Example:
<let name= "sin_val" type="double"></let>
<function name="sin" return="sin_val"> 20.0 </
function>
Cosine The function calculates the cosine of the value transferred in degrees.
Parameter:
double - angle
Syntax:
<function name="cos" return="<double val>"> double
</function>
Example:
<let name= "cos_val" type="double"></let>
<function name="cos" return="cos_val"> 20.0 </
function>
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 113