Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual
Page 227

Micro-PWC CONFIGURATION GUIDE
Grafx Editor 207
3.
The logical operators are:
4.
Operators should be surrounded by spaces. For example, the following expression is invalid:
The expression should be written as follows:
5.
The set of rules which determines which operators are performed first is known as
precedence, and is described in
Section 4.3.1.1, Configuring the Expression - Operators and
. Precedence can be controlled using parentheses. Operator precedence used here
follows the precedence used in the C Language (with the exception of the exponentiation
operator (^), which is not available in C). For convenience, the operators available for use in
expressions assigned to submodel variables are listed here. Operators grouped together have
equal precedence. Higher precedence operator groups are located higher in the list.
6.
Expressions are limited to 120 alphanumeric characters. For example, the following
expression contains 14 characters: (CON1.SP + 10)
7.
Syntax errors in expressions are not detected by the Graphics Editor; they are detected when
the graphic is displayed in an Operator Window.
8.
Expressions must be enclosed in quotes. This is done automatically if the model being edited
is a graphic, but must be done by the user when a submodel is being edited.
!
NOT
&&
AND
||
OR
==
EQUAL
!=
NOT EQUAL
CON1.SP+10
CON1.SP + 10
SYMBOL
DESCRIPTION
( )
Parentheses
!
Logical not
^
Exponentiate
*
Multiply
/
Divide
+
Add
-
Subtract
==
Equal
!=
Not equal
&&
Logical and
||
Logical or