THE WORLD'S LARGEST WEB DEVELOPER SITE

VBScript Eval Function

❮ Complete VBScript Reference

The Eval function evaluates an expression, like a function, and returns the result.

Syntax

Eval(expression)
Parameter Description
expression Required. The expression to evaluate

Example

Example

Creating a regular expression object:

<%

function myFunction()
response.write("Hello world")
end function

eval("myFunction()")

%>
Show Example »

❮ Complete VBScript Reference