Arbortext IsoDraw > Macro Language Reference > Introduction > Language Basics > Operators and Expressions
  
Operators and Expressions
An expression is a part of an Arbortext IsoDraw macro that can be used to produce a value. The simplest expressions are:
literals
A literal value evaluates to itself.
variables
A variable evaluates to the value stored in that variable.
More complex expressions can be formed using simple expressions and operators.
Comparison Operators
Comparison operators compare operands. The result is always either true or false.
Operands to the comparison operators must be numeric.
The comparison operators are:
Equality (=)
If both operands are equal, this operator returns true; otherwise, it returns false.
Inequality (<>)
If both operands are not equal, this operator returns true; otherwise, it returns false.
Greater than (>)
If the left hand operator is greater than the right hand operator, this operator returns true; otherwise, it returns false.
Greater than or equal to (>=)
If the left hand operator is greater than or equal to the right hand operator, this operator returns true; otherwise, it returns false.
Less than (<)
If the left hand operator is less than the right hand operator, this operator returns true; otherwise, it returns false.
Less than or equal to (<=)
If the left hand operator is less than or equal to the right hand operator, this operator returns true; otherwise, it returns false.
Or (||)
This operator returns the value true if either or both operands is true, and false otherwise.
And (&&)
This operator returns the value true if both operands equal true and false otherwise.