Processing.py-Bugs icon indicating copy to clipboard operation
Processing.py-Bugs copied to clipboard

Incrementation does not work

Open millermc01 opened this issue 1 year ago • 1 comments

make a variable x and then in the draw function x = x + 1 and the program does not run

millermc01 avatar Sep 01 '24 17:09 millermc01

Hi! I'm afraid you might be running on Processing 4 where Python Mode is broken, it has the error messages silenced... If you try on Processing 3.5.4 you might find it is a "Unbound local variable error" maybe (trying to increment a global variable without the proper global statement)? Anyway, the best place for this discussion now, and for you to get help, is https://discourse.processing.org

villares avatar Sep 01 '24 20:09 villares