Inspect Examples

These examples illustrate what would happen if you type the following text into the entry field and press return. Indented examples show what would happen if you then double clicked on the specified line in the display field.



Now for an OOP example. Suppose you had two parents scripts, "Ball" and "ElasticBall". Script "Ball" has three properties: color, size, and velocity. Script "ElasticBall" has a "Ball" ancestor and adds the property elasticity. Suppose also that you created two "Balls" and one "ElasticBall" and added them to the actorList. If you have a specific example that you would like to see what Inspect would do with, please send email to support@codeHorse.com and we will try to respond with the resulting display text.