Difference between revisions of "Broker help/Orientation"
DavidWhitten (talk | contribs) m |
DavidWhitten (talk | contribs) (→'''Classes, Objects, and Components''') |
||
Line 2: | Line 2: | ||
== '''Classes, Objects, and Components''' == | == '''Classes, Objects, and Components''' == | ||
− | The BDK includes classes, objects, and components. For each class, object, and component, this Help file lists the unit, declaration, properties, methods, and a description of how to use the class, object, or component. | + | The [[BDK~|BDK]] includes classes, objects, and components. For each class, object, and component, this Help file lists the unit, declaration, properties, methods, and a description of how to use the class, object, or component. |
* '''Class''' — A class is a data type that wraps up code and data all in one bundle. | * '''Class''' — A class is a data type that wraps up code and data all in one bundle. |
Revision as of 19:07, 21 December 2010
Classes, Objects, and Components
The BDK includes classes, objects, and components. For each class, object, and component, this Help file lists the unit, declaration, properties, methods, and a description of how to use the class, object, or component.
- Class — A class is a data type that wraps up code and data all in one bundle.
- Object — An object is a specific instance of that class with associated values.
- Component — A component is an object with additional properties, methods, and events that makes it suitable for specialized purposes.
Routines
Routines can either be functions or procedures. A function returns a value, and a procedure does not.
For topics in this Help file describing routines, the unit and declaration for each routine is listed, as well as a description of the routine is provided.
Types
A type defines the possible range of values for a property or a method. A number of types are declared in the BDK, which you may need to make use of yourself in your own code. For topics in this Help file describing types, the unit and declaration for each type, as well as a description of the type is also provided.
Units
A unit is a Pascal source-code file. The BDK includes a number of units. This Help file documents some of the units provided, and details what parts of the BDK are declared in each unit.
Sometimes it is helpful to know in which unit a particular item, such as a type or routine, is declared in the BDK. This is because if you use the item in your own code, you may need to include the corresponding unit in your own Pascal unit's uses clause.