preload

A little automation for VBScript OOP (2)

Posted by Albert Gareev on Nov 27, 2008
0
Generate code for Property Let / Property Get / Property Set methods of Delegator Object What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property Name – External name (used as Property Let / Get name) Parent Class – Name of […] ...

A little automation for VBScript OOP (1)

Posted by Albert Gareev on Nov 25, 2008
0
Generate code for Property Let / Property Get / Property Set methods What to use 1. MS Excel worksheet as input / output interface 2. MS Excel VBA macro to generate source code 3. Input parameters Property Name – External name (used as Property Let / Get name) Parent Class – Skip. Used in only with […] ...

Object-Oriented Programming with VBScript (2)

Posted by Albert Gareev on Nov 16, 2008
0
Continuing previous post, I explore Object-Oriented Programming with VBScript. Now I want to take a closer look at inheritance and practice its workaround, called delegation. Delegator Class example As you can see, ScreenPoint class has Point2D property. When initialized, it refers to Point2D object. Note, that ScreenPoint class does not have X or Y properties, […] ...

Object-Oriented Programming with VBScript (1)

Posted by Albert Gareev on Nov 15, 2008
0
As I recently wrote, VBScript supports Object-Oriented Programming. However, we have to get used to certain limitations. Let’s start with an example of a corner stone principle – encapsulation. Class declaration example As you can see, Point2D class I defined, has two private properties. To access the properties outside of the class, I defined a pair […] ...

Minor defect as a symptom of a major defect

Posted by Albert Gareev on Nov 10, 2008
0
The story Maybe the story began when I noticed that a status message (a line displaying text at the bottom of the window) looked somewhat unusual. Or maybe when I checked the log file to investigate, and found out that the program reported “______ file updated”. That looked as a typo, or unsupported characters in the […] ...
Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by Albert Gareev is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.