(updated)Help on Serial communication between Arduino and PC!!

on a pre-1.0 environment, that will clear the send buffer

Wrong buffer...

From http://arduino.cc/en/Serial/Flush:

Waits for the transmission of outgoing serial data to complete. (Prior to Arduino 1.0, this instead removed any buffered incoming serial data.)