So I’ve ran into an issue porting code from pde to open processing, at first i realised that i was assigning variable was functions which for some reason is acceptable for boolean values in the pde environment, ie
Boolean toggle;
then further in the code
void toggle(){
}
so Ive checked my code and no overloaded variables (if you can call it that) and yet the code still doesnt work, and prompts a undefined error, however openprocessing doesnt diagnose well and so i cannot identify the error.
heres the code in question, again it should completely work in pde, the toggle variables have been renamed tog and still the problem persists.