[thelist] VARIABLE(s): asp/vbscript (referencing/pointers)

Eric Engelmann eric.engelmann at geonetric.com
Wed Jun 26 11:53:01 CDT 2002

JScript has an eval function you can use in ASP, something like this

	function evaluate(strToEvaluate){
		return eval(strToEvaluate);

Should let you send in some code (or a variable name) and see the results of
it. I've used this function for a similar purpose: setting constants for
recordset fieldnames that aren't defined beforehand. You can call this
function from your VBScript, but I know there are occassional oddities with
mixing the two.


how can i get it's value to be printed?

More information about the thelist mailing list