Cold Help System: General Information: Objects

Objects are the primary element of Cold. An object is an abstract concept used to aid in program design. In simple terms an object is something which contains information (data) and instructions for manipulating this information (methods or functions).

If you are unfamiliar with the concepts of Objects and Object Oriented Programming and you want to learn more, you may want to read about Object Oriented Programming in the ColdC Reference Manual (following this link is not for the faint of heart!)

Even if you do not intend to program, it is important to know about objects. If you want to specify an object that is not in your Environment, you can do it by using the object database name (sometimes called an objref or dbref). Object database names are single words (no spaces), beginning with a dollar sign $. The following are all object names:

$root, $sys, $user_joe

Conventions | Objects | Environment | Appearance | Security | Commands | Interaction | Interface | Enhanced Command Templates

the Cold Dark