We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Can tabs be used in the beta p5js editor, to be able create objects etc. Problem is though that if I declare an object at the top of my first tab, script.js, and try to instantiate in setup(), the object is reported as undefined if its in its own tab. If its on the first i.e. script.js tab it's fine.
Also (probably related?), in the html file, the src is set as script.js so I guess that means all code had to be in the first, script.js tab?
So can/how are tabs used in the editor?