Start a new topic

for statement

Why do i get a invalid command on the following

for(n0.val=0; n0.val<100; n0.val++)
{
}


Error: Invalid command:for(n0.val=0; n0.val<100; n0.val++)( Double click to jump to code)

Error: Invalid Variables: n0.val( Double click to jump to code)

Error: Invalid command:}( Double click to jump to code)

Error: Compile failed! 3 Errors, 0 Warnings,



There is no spacing tolerated within the for command loop between parentheses.

You have spacing where you shouldn't .  Specifically after each of the two semicolons.

Thanks Pat, dam Nextion Instruction Set full of bad examples.

Login or Signup to post a comment