Arg looping unknow

@gotoLoop

in Processing Forum one there is a weird code who work very fine, but I don't understand : https://forum.processing.org/one/topic/start-stop-pause-processing.html

void keyPressed() {
  final int k = keyCode;

  if (k == 'S')
    if (looping)  {
      noLoop();
    } else {
      loop();
    }
}

Why Processing know the var looping it declared no where ?

Answers

Sign In or Register to comment.