Writing Component Code

For the most part, Example 9-2, which shows the completed script block for our MathLib component, contains straightforward VBScript code. Only handling the DivByZero event, which will be discussed in Section 9.4.1 later in this chapter, requires comment.

Example 9-2. Script block for the MathLib component


 




Vbscript in a Nutshell
VBScript in a Nutshell, 2nd Edition
ISBN: 0596004885
EAN: 2147483647
Year: 2003
Pages: 335
Simiral book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net