program RecordTest{

	record
	{
		Point:
		{
			Integer x, y;
		}
	}

	function getPoint(Integer x, Integer y):Point;
	var
	{
		Point p;
	}
	{
		p.x = x;
		p.y = y;
		return p;
	}

    function Main():void;
	var
	{
		Point p = getPoint(10, 20);
	}
    {
        writeLn("x = " + p.x + ", y = " + p.y);
    }
}