Declaration:  ResultPointY: Double;
Returns the y coordinate from the last Getpoint, Getline or GetRect.

Source Code:

var
  x, y: double;

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