type shapeType = (square, rectangle, circle); shape = record centerX, centerY: real; case kind: shapeType of square: (side: real); rectangle: (length, height: real); circle: (radius: real); end;