This is the InObject function that creates the error message.
Code:
int InObject(char shape.type, int p.x, int p.y, int shape.arg0, int shape.arg1, int shape.arg2) {
if (shape.type == 'R') {
return Rectangle(shape.arg0, shape.arg1, p.x, p.y);
}
if (shape.type == 'C') {
return Circle(shape.arg0, p.x, p.y);
}
if (shape.type == 'E') {
return Ellipse(shape.arg0, shape.arg1, shape.arg2, p.x, p.y);
}
if (shape.type == '!') {
return Exclaim(shape.arg0, shape.arg1, p.x, p.y);
}
if (shape.type == 'H') {
return LetterH(shape.arg0, shape.arg1, p.x, p.y, shape.arg2);
}
if (shape.type == 'L') {
return LetterL(shape.arg0, shape.arg1, p.x, p.y, shape.arg2);
}
}