Node:Built-in Operators, Next:User-defined Operators, Up:Operators

#### Built-in Operators

The following table lists all built-in GNU Pascal operators, ordered by precedence: `<` etc. have the lowest precedence, `not` etc. the highest. As usual, the precedence of operators can be superseded with parentheses.

In an assignment statement, `:=` has lower precedence than all operators. (This is rather obvious from the syntax of assignment statements, and is merely noted for programmers familiar with C where `=` is an operator.)

    <    =    >    in   <>   >=   <=
    +    -    or   +<   -<   +>   ->
    *    /    div  mod  and  shl  shr  xor  *<   /<   *>   />
    pow  **   ><
    not  &    @

The Pascal-SC (PXSC) operators `+<`, `-<`, `+>`, `->`, `*<`, `/<`, `*>`, and `/>` are not yet implemented into GNU Pascal but may be defined by the user (see below).