NXC Compiling errors
Posted: 30 May 2012, 09:46
Today i downloaded NXC. I have watched some vedeo tutorials, but i have a problem:
This is the code that he teached me, and when i press the compile button it seas:
line 3 Error: Declaration syntax error
line 3 Error: ';' is expected
line 4 Error: ';' is expected
line 5 Error: ';' is expected
line 6 Error: ';' is expected
line 7 Error: ';' is expected
line 8 Error: ';' is expected
task main ()
(
OnFwd(OUT_A, 30);
OnFwd(OUT_C, 30);
Wait(4000);
OnRev(OUT_AC, 30);
Wait(4000);
Off(OUT_AC);
)
When i try to expriment with my own programs the same happens!!!!!!
This is the code that he teached me, and when i press the compile button it seas:
line 3 Error: Declaration syntax error
line 3 Error: ';' is expected
line 4 Error: ';' is expected
line 5 Error: ';' is expected
line 6 Error: ';' is expected
line 7 Error: ';' is expected
line 8 Error: ';' is expected
task main ()
(
OnFwd(OUT_A, 30);
OnFwd(OUT_C, 30);
Wait(4000);
OnRev(OUT_AC, 30);
Wait(4000);
Off(OUT_AC);
)
When i try to expriment with my own programs the same happens!!!!!!