How to keep sketches tidy
in
Programming Questions
•
1 month ago
Hi,
I can use the extra tabs, and assume that these are part of the main code, and i just have to reference them to get them working, but how segregated can it be?
my main code at the moment is huge, and getting huger each day and tabbing off the code seems sensible.
(it also makes sense, as a wrote an entire seperate program and spent half an hour integrating, when really all i needed to do was reference it?(
main code;
void setup () {
stuff
}
void draw () {
box();
}
next tab
void box () {
rect(10,10,10,10);
}
1