We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
For a personal project, I’d like to use this interface and custom it : https://www.openprocessing.org/sketch/423991
Then, I copied/pasted the content of the 4 tabs in a new P3 document (I tried P2 too ;) ) but I have an error message « expecting SEMI, found ‘p’ ». As you can see, there is a semi at the line 1…
What do I fail ? (P.S. I am a newbie :) )
Answers
It is unlikely you will need a closing curley brace (
}
) on line 1.Hi TfGuy44,
This screen is the step 2, I added a "}" on line one because of this error message :)
It was strange but I did it and the error message desapeared. Do you understand something ? I don't...
This is the step 1, before the "}" on line 1 :
line 7 has a spare }
ctrl-t in the editor is good at debugging this.
posting images of code is generally not helpful.
Sorry, I'm a newbie ;)
This is the original code :
And the error message is still "Missing right curly bracket "}" but now on line 4 I checked the curly brackets and everything seems to be ok... Maybe it's friday for Processing too...
I notice in your screenshot your mode is java. You should switch your mode to p5.js
Kf