-
Static variables with vbs??
Hi all,
To get straight to the point, Is it possible for me to create a static variable with vbs??
When I do this with VBA,
[VBA]
Static tnow
tnow = Time + TimeSerial(0, 1, 0)
Do Until Time > tnow
MsgBox Time
Loop[/VBA]
Fine, it works, but in vbs I get an error. I therefore suspect the use of Static is not allowed in vbs. If this is the case, how can I get round this??
Many thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules