September 27, 2008 8:19 PM
Posted by: Jerry Lees
Classes,
Private,
VBScript StatementsThe Private statement is used to declare a variable as being Private inside a script. If used outside of a class it has little effect and the variable can be used throughout the script, however, if used inside a class statement it will only be able to be used inside the class statement...
September 26, 2008 7:54 PM
Posted by: Jerry Lees
Error control,
on error,
VBScript StatementsThe on error statement allows you to somewhat control how the scripting engine handles errors in the scripts you write. It allows you to turn error handling on and off for the scripting engine so that you can handle them in your script.
The Statement essentially has two ways it is used. First...
September 20, 2008 8:10 PM
Posted by: Jerry Lees
Property,
Property Get,
VBScript StatementsWithin a VBScript class the Property block allows you to Get the value of the property in the class. This statement works in conjunction with the Property Let and Property Get statements and can only be used inside a class inside VBScript-- and no where else in the script.
By default the...
September 19, 2008 7:50 PM
Posted by: Jerry Lees
Property,
property set,
VBScript,
VBScript StatementsWithin a VBScript class the Property block allows you to set the value of the property in the class. This statement works in conjunction with the Property Let and Property Get statements and can only be used inside a class inside VBScript-- and no where else in the script.
This would in turn be...
September 18, 2008 7:31 PM
Posted by: Jerry Lees
Classes,
Property,
Property Let,
VBScript,
VBScript StatementsWithin a VBScript class the Property block allows you to set the name of the property in the class. This statement works in conjunction with the Property Set and Property Get statements and can only be used inside a class inside VBScript-- and no where else in the script.
By default the...
September 13, 2008 11:11 PM
Posted by: Jerry Lees
Functions,
VBScript,
VBScript Functions,
VBScript StatementsThe Function statement creates a function and allows you to list the arguments (if any) which are to be passed into the function.
The major difference between a function and a subroutine, is that a function can return a value. To return a value you...
September 6, 2008 11:41 PM
Posted by: Jerry Lees
Development,
Public,
Variable Types,
VBScript,
VBScript StatementsThe VBScript Public statement creates a variable, function, subroutine, or class that is available outside the bounds of the scope it was created in and it functions very much like a global variable, except that it can be declared or initialized inside a non0-global code...
August 29, 2008 2:04 PM
Posted by: Jerry Lees
Random Numbers,
randomize,
VBScript StatementsThe Randomize statement seeds the VBScript random number generation engine with a new seed. A seed is a user defined value that helps create a random number.
There are no options for the Randomize statement, it's use is simply:
Randomize
August 17, 2008 2:02 AM
Posted by: Jerry Lees
arrays,
dimensional arrays,
redim,
VBScript StatementsThe ReDim statement in VBScript allows you to declare a array, or a multi-dimensional array, in your code. Also, this statement allows you to re-declare the number of elements in the array at a later time in the code.
This is important because it also allows you to release...