THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

VBScript Eval Function


VBScript Reference 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 »

VBScript Reference Complete VBScript Reference