Hello there.  
Can somebody please explain to me what a "squawk code" is and what its purpose is.  For example, on a clearance frequency, I would hear "Expect flight level 230 10 minutes after departure;  departure frequency 124.6 squawk 4640."  Can somebody explain to me what the end of that quote means?  for some reason, I think that the numbers equal a beacon frequency, but I do not see a decimal point.  Can someone clear up my confusion?  thanks,
Chananya