11. Custom Macro
131
11.3
11.3
11.3
11.3 Operators
Operators
Operators
Operators and
and
and
and Expression
Expression
Expression
Expression
1)
1)
1)
1)
Mathematic
Mathematic
Mathematic
Mathematic operator
operator
operator
operator
+, -, *, /
2)
2)
2)
2)
Conditional
Conditional
Conditional
Conditional operator
operator
operator
operator
EQ(=), NE(≠), GT(
>
), GE(≥), LT(
<
), LE(≤)
3)
3)
3)
3)
Logic
Logic
Logic
Logic operator
operator
operator
operator
AND, OR, NOT
4)
4)
4)
4)
Function
Function
Function
Function
SIN
Sine
COS
Cosine
TAN
Tangent
ATAN
Arctangent
ATAN2 Arctangent2
ABS
Absolute value
INT
Integer
SIGN
Sign
SQRT
Square root
EXP
Exponential function
5)
5)
5)
5)
Expression
Expression
Expression
Expression
The expressions are composed of constants, operators and variables.
Example:
175/SQRT[2] * COS[55 * PI/180 ];
#3*6 GT 14;
Summary of Contents for HNC-18iT
Page 27: ...2 Preparatory Function 23 G59...