Declaration:  ResultPointX: Double;
Returns the x coordinate from the last Getpoint, Getline or GetRect.

Source Code:

var
  x, y: double;

begin
  if getpoint(x, y, 'Click Point') = 1 then
    result := resultpointx;  // should be same as x
end;