class

Posted by Kyrock on Thu 06 Nov 2008 10:19 AM — 3 posts, 18,512 views.

#0
I've been going through my script file and been trying to tidy it up. One of the problems is I have a lot of duplicate code. I was wandering if VBscript classes can do anything like inheritance and if there's a way to make utility classes...something like static classes.
Australia Forum Administrator #1
I'm not sure about inheritance, but simple use of subroutines should reduce or eliminate duplicate code.
USA #2
If I remember correctly, "class" is one of the keywords that has been stripped out of VBS.