ASP/VBScript Eval() Evaluates a data-binding expression.
ShotDev Focus:
- Using Asp and Eval() function.
Example
asp_eval.asp
<% Option Explicit %> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim strVar123,MyValue strVar123 = 123456 MyValue = 123 Response.write Eval("strVar"&MyValue) %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_eval.asp
Screenshot