>What is the perpendicular distance between a point and a line? >Application for which there is no redeeming social value: Thanks for sharing that code, James. I'm taking calculus right now and that type of thing might come in handy. Also thanks for not using "repeat until the mouse is up." I always make that mistake because of hypercard habits. -Ben