Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

osfameron (3135)

  (email not shown publicly)

Technorati Profile []

Journal of osfameron (3135)

Tuesday August 31, 2004
07:31 AM

Anonymous subs... in vbscript

[ #20653 ]
OK, OK, VBS doesn't have anonymous subs. (Though you can get references to subs using the GetRef function, this is apparently considered so magical that it is documented as only being for registering DHTML handlers for IE5 hosted scipts. So forget anonysub references.)

But with a judicious bit of source filtering (external of course: there's no way to modify the source at compile time so the abused .vbs won't even run) you can fake them (even with a hackish lexical context) with objects.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.