> I keep getting a syntax error on line 4 of my code in GM8.1 what's wrong?

I keep getting a syntax error on line 4 of my code in GM8.1 what's wrong?

Posted at: 2014-12-18 
The full code is here.

if (keyboard_check (vk_right) )

(

x = x + 3;

)

The brackets encompassing a block of code are curly ones, not standard brackets:

if (keyboard_check (vk_right) )

{

x = x + 3;

}

The full code is here.

if (keyboard_check (vk_right) )

(

x = x + 3;

)