Re: Handling Events in a VBScript Class



vorpal wrote:
My workaround for the other problem was to have a global sub call the
class member I really wanted to usr. This DOES work, but it breaks
encapsulation. Breaks it? Heck, it crushes it, but like I say, it
does work. Ugly, Ugly


Yes Vorpal, the life of a scripter is filled with disappointments.
vbs is somewhat limited in what it can do, and so you-don't-always-
get-what-you-want. Scripters must frequently resort to:
work-arounds, compromises, brute-force -- and yes --
just plain UGLY code...

Your only consolation is that your boss doesn't usually care
about ugly, as long as you meet your project completion target
date...

cheers, jw
.


Loading