Im having a little problem

expected initializer before 'time'

this is the code of that exact part
long total time = 30;

You started a topic in the Uncategorised category of the forum

Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics

Please post the full sketch that causes the error, using code tags when you do

long totalTime = 30;

'time' is a reserved word. You can not use it in your program. See Post #3 for the solution.

`long total time = 30;`

Identifier names cannot contain spaces.

Variable naming.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.