I always thought that all Arduino actions had to be within the loop(), but I found examples of methods other than loop() being used successfully without being inside of loop(). For example: reply #9 in the following thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1235696263 (another strange thing is as the person points out a new loop() had to be declared at the end to make the program compile.
Can anyone explain the rules of capturing everything in one loop or whether other methods can follow without being in a loop? I see the reference to how to use loop() http://www.arduino.cc/en/Reference/ but it's not clear why the code above works since another loop() is introduced. And maybe we can use multiple loops like "go to B loop if certain requirements are satisfied"?