Void type

Type void is a special type. It means emptiness (no type) and does not consume any memory. It is only used to describe functions that do not return any values or have any parameters. We learned an example of such a function: OnStart in the HelloChart script in Part 1. This will be discussed in more detail in section Functions.

It is impossible to use type void to describe variables; however, it is the basic type in describing references to the random objects of classes. This possibility is described in Part 3 dealing with object-oriented programming.