Free Pascal - Parenthesis operator: ( )

We can use parentheses to change the order of expression evaluation, in other words, we can override operator precedence.

( )

Description

( expression )

Input


Output

Examples

Free Pascal

Parenthesis operator the possible of use:
x := 90 mod 8;    // x = 2
y := 15 mod 4;    // y = 3
z := (x mod y) mod 5;// z = 2

Free Pascal

Even one example in what situations we can use the operation parenthesis operator:
i * $FF
10 * 3.14
(10 - j * 0.5) * 2

Free Pascal

Other pieces of example codes:
repeat
  inc(i);
  if i=3 then
    break;
until (i=10);
(2.5 / 2 + 1.25) + 2
byte((x * y))
(x / 5) * 10
(j + 10) <= 128
($ff mod 50 mod 10) mod 2
Languages: en hu cz sk