Say I have the following script:
Set myTimer = 0
Do While myTimer < 10000
myTimer = myTimer + 1
Loop
MsgBox(myTimer)
When I try to run it, I get the following error:
Windows Script Host
Script: C:\vbscript\test.vbs
Line: 1
Char: 1
Error: Object required: '[number: 0]'
Code: 800A01A8
Source: Micrsoft VBScript runtime error
The output I'd expect to get is a single alert box that says 1000. Any
ideas as to what I'm doing wrong?