DMC-1400 Series Command Reference ( ) 7
( )
FUNCTION: Parentheses (order of operations)
DESCRIPTION:
The parentheses denote the order of math and logical operations. Note that the controller
DOES NOT OBEY STANDARD OPERATOR PRECEDENCE. For example,
multiplication is NOT evaluated before addition. Instead, the controller follows left-to-
right precedence. Therefore, it is recommended to use parenthesis as much as possible.
ARGUMENTS: (n) where

n is a math (+ - * /) or logical (& |) expression

USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage ALL
RELATED COMMANDS:
+ - * / Math Operators
& | Logical Operators
EXAMPLES:
:MG 1 + 2 * 3
9.0000
:MG 1 + (2 * 3)
7.0000
: