In this article
To use a class in your program, you can first declare a variable from it.
A variable of a class must be explicitly allocated a memory space, big enough to contain its data. This is done using the new operator.
Example:
var car : myCar = new myCar;After declaring a variable of the class, you can access any of its members using the period operator ".". First, type the name of the variable, followed by a period, followed by the name of the member you want to access.
Example:
car.Color