[==: Text1,Text2] String Comparision == Equal - CAB A+ Series Programming Manual

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

Mathematical Functions
331
[==: text1,text2]
Compares 2 text strings and has the result true (1), when the text strings are equal or false. (0) when
these two strings are not equal.
Syntax:
Example:
Compares identical text strings with the result true (1) and compares 2 other text strings and has the
result „false" (0)
cab Produkttechnik GmbH & Co KG
String Comparision
[==:text1,text2]
[==:...] - String comparision
text1,text2
=
m m
J
O R
S l1;0,0,68,70,100
T:VAR1;5,20,0,5,pt20;IDENTICAL
T:VAR2;5,30,0,5,pt20;IDENTICAL
G 10,33,270;L:15,2,s,a
T:VAR3;8,60,0,5,pt20;[==:VAR1,VAR2]
T:VAR4;55,20,0,5,10;Text3
T:VAR5;55,30,0,5,pt20;Text4
G 68,33,270;L:15,2,s,a
T:VAR6;65,60,0,5,10;[==:VAR4,VAR5]
A 1
==
textstring1 (text1) compared with textstring2 (text2)
Equal
331
331

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents