Reading serial data from maxSonar ultrasonic rangefinder

What is the purpose of the line:

#define txPin 3

(And isn't the specific usage of #define outdated?)
I do not current have anything connected to Pin 3 and the code seems to work fine.