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 Class ScreenPoint   '' Properties     'Ancestor Point2D   Private P2D   'Point color   Private Color   '----------------------     '' Methods   'Constructor - [...] ...

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 Class Point2D   '' Properties     Private p_X   Private p_Y   '----------------------     '' Methods   'Constructor - called automatically   [...] ...

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.