WebPoint Scripting Language  
home


back  Back to Home Page

Delphi Classes
◊ TObject
◊ TPersistent
◊ TPersistFormat
◊ TComponent
◊ TStrings
◊ TStringList
◊ TBits
◊ TStream
◊ THandleStream
◊ TMemoryStream
◊ TFileStream
◊ TCustomMemoryStream
◊ TResourceStream
◊ TParser
◊ TCollectionItem
◊ TCollection
 
IniFile Classes
◊ TMemIniFile
◊ TIniFile
◊ TCustomIniFile
 
Delphi Database Classes
◊ TDataSet
◊ TParams
◊ TParam
◊ TField
◊ TFields
◊ TFieldList
◊ TFieldDefList
◊ TSession
◊ TDatabase
◊ TBDEDataset
◊ TDBDataset
◊ TTable
◊ TStoredProc
◊ TQuery
 
Web/Resource Database Classes
◊ TWebQuery
◊ TAstaParamItem
Procedure
◊ TWebAstaQuery
◊ TWebAstaDatabase
◊ TWebDatabase
◊ TPriceEnquiryQuery
 
back Back to Home Page

WebPoint

Back To Objects 
An object, or class, is a data type that encapsulates data and operations on data in a single unit. Before object-oriented programming, data and operations (functions) were treated as separate elements.

You can begin to understand objects if you understand Object Pascal records. Records (analogous to structures in C) are made of up fields that contain data, where each field has its own type. Records make it easy to refer to a collection of varied data elements.

Objects are also collections of data elements. But objects?unlike records?contain procedures and functions that operate on their data. These procedures and functions are called methods.

An object´s data elements are accessed through properties. The properties of Delphi objects have values that you can change at design time without writing code. If you want a property value to change at runtime, you need to write only a small amount of code.

The combination of data and functionality in a single unit is called encapsulation. In addition to encapsulation, object-oriented programming is characterized by inheritance and polymorphism. Inheritance means that objects derive functionality from other objects (called ancestors); objects can modify their inherited behavior. Polymorphism means that different objects derived from the same ancestor support the same method and property interfaces, which often can be called interchangeably.

back  Back To Home Page

© Copyright 2008 Intouch Technology Group
->