EasyManuals Logo

Siemens MCP 398C Commissioning Manual

Siemens MCP 398C
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #825 background imageLoading...
Page #825 background image
Function name Description
String to compare without making a distinction be‐
tween uppercase/lowercase
Two strings are compared from a lexicographical perspective (the
comparison is not case-sensitive).
The function gives a return value of zero if the strings are the same, a
value less than zero if the first string is smaller than the second string
or a value greater than zero if the second string is smaller then the first
string.
Parameter:
str1 - string
str2 - comparison string
Syntax:
<function name="string.icmp" return ="<int var>" >
str1, str2 </function>
Example:
<let name="rval">0</let>
<let name="str1" type="string">A brown bear hunts a
brown dog.</let>
<let name="str2" type="string">A brown Bear hunts a
brown Dog.</let>
<function name="string.icmp" return="rval"> str1,
str2 </function>
Result:
rval= 0
String left The function extracts the first nCount character from string 1 and cop‐
ies this to the return variable.
Parameter:
str1 - string
nCount - number of characters
Syntax:
<function name="string.left" return="<result
string>"> str1, nCount </function>
Example:
<let name="str1" type="string">A brown bear hunts a
brown dog.</let>
<let name="str2" type="string"></let>
<function name="string.left" return="str2"> str1,
12 </function>
Result:
str2="A brown bear"
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 107

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals