Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>precedence operator precedence in basic</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Precedence               Operator Precedence in BASIC

          Operator Precedence

    Highest:       ^
                   - (negation)
                   *  /
                   \
                  MOD
                   +  -
                   =  <>  <  >  <=  >=
                  NOT
                  AND
                   OR
                  XOR
                  EQV
    Lowest:       IMP


    Operators have an inherent precedence. In the absence of explicit
    grouping (through parentheses), an expression is evaluated in the
    order dictated by this inherent precedence. Operators of the same
    precedence level are evaluated in left-to-right order.

    All function calls in an expression are evaluated before any
    operators.


See Also:

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson