View Full Version : ASP Class: Static Member
Does anyone know how to create a static member in a vbscript class; Or if vbscript supports this functionality?
what i did was to create read only properties for my class and hardcode the values just as i would when setting the value of a Const variable. However this is not a static member as i have to instantiate the class to gain access to the property. I could have defined Const variables in the global.asa file of my application but this would've violated the modularity i was trying to achieve. It seems that the concept of a Static Member only applies in a truly object oriented language like java, c++ or c#. got to love asp.net! Thanks for reading my original question.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.