# Predefined variables affecting execution

**URL:** <https://discourse.processing.org/t/predefined-variables-affecting-execution/1930>\
**Category:** Coding Questions\
**Created:** [July 20, 2018, 8:51am UTC](https://discourse.processing.org/t/predefined-variables-affecting-execution/1930 "2018-07-20T08:51:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![giulio](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@giulio](https://discourse.processing.org/u/giulio)\
**Post date:** [July 20, 2018, 8:51am UTC](https://discourse.processing.org/t/predefined-variables-affecting-execution/1930/1 "2018-07-20T08:51:22Z")

</div>

I was modifying and cleaning my code. Suddenly the draw() loop stopped to be repeated (it only executed the first time, up to the last line, as I saw by inserting some println calls).  
After looking at the code, I saw that I had commented the definition of a variable called “looping” (as I was not planning to use it anymore), but that my draw() code still contained a “looping = false” statement.

Processing reported no errors, which means “looping” was defined somewhere; and by commenting the “looping=false” statement, the draw() code restarted to loop, as it should do. So clearly the value of this “looping” variable was affecting the execution mode, in a way similar to the loop, noLoop functions.

Where can I find a list of these predefined variables, with their meaning?  
Best regards,  
Giulio

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [July 20, 2018, 8:57am UTC](https://discourse.processing.org/t/predefined-variables-affecting-execution/1930/2 "2018-07-20T08:57:44Z")

</div>

> <https://github.com/processing/processing/blob/master/core/src/processing/core/PApplet.java#L696>

---

<div class="post-metadata">

**Author:** ![giulio](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@giulio](https://discourse.processing.org/u/giulio)\
**Post date:** [July 20, 2018, 9:38am UTC](https://discourse.processing.org/t/predefined-variables-affecting-execution/1930/3 "2018-07-20T09:38:11Z")

</div>

Thank you GoToLoop. And thank you also for a old post of yours, where you showed how to override the exit() call.  
Giulio

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [July 20, 2018, 5:07pm UTC](https://discourse.processing.org/t/predefined-variables-affecting-execution/1930/4 "2018-07-20T17:07:17Z")

</div>

looping and g are two variables that catch ppl by surprise. Any other one?

Kf
