Documentation correction

in the last row the semicolon is missing

void loop()
{
if (digitalRead(switchPin) == LOW)
{ // switch is pressed - pullup keeps pin high normally
delay(100); // delay to debounce switch
running = !running; // toggle running variable
digitalWrite(LEDpin, running) // indicate via LED
}
}

Yes. Unfortunately we moderators do not have privileges to correct those things.

But.....this is where the suggestions link from the examples point. "Corrections, suggestions, and new documentation should be posted to the Forum."
:stuck_out_tongue:
Along those lines,
Clarification could be added to:
http://arduino.cc/en/Reference/AttachInterrupt
It mentions that the Due calls the interrupt pins differently, but doesn't specify which board the example code is written for. Do you use "int.0" for the "interrupt" argument of the attachInterrupt function on the boards other than the Due? Or would just "0" be acceptable for either? (using the pin 0 on the Due, and pin 2 on the others)