[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Operator Precedence Order

         Order of Operator Precedence from Highest to Lowest

                  LENGTH, SIZE, WIDTH, MASK, (), [], <>
                  .
                  :
                  PTR, OFFSET, SEG, TYPE, THIS
                  HIGH, LOW
                  + (unary), - (unary)
                  *, /, MODE, SHL, SHR
                  +, -
                  EQ, NE, LT, LE, GT, GE
                  NOT
                  AND
                  OR, XOR
                  SHORT, .TYPE

  --------------------------------------------------------------------------

    Operator precedence determines the order in which the terms of an
    expression will be evaluated.  Operators with the highest precedence
    will be evaluated before operators with lower precedence.

       Notes:         Operators on the same line have equal precedence.

                      Operators of equal precedence are evaluated from
                      left to right.

                      Operations in parentheses are performed first.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson