ASP

ASP Variables Strings Form Arrays 2D Array Loop IF Cookies Dates Dictionaries SQL Numbers Files JSON Database Regular Expression ExecuteGlobal Recordset ServerVariables Bugs ADO AJAX XML Chilkat
O O

Weather Controls

Time Of Day
Rain
Wind Speed
Wind Direction
Clouds

ASP : ExecuteGlobal

2018-09-27

Example 1

Dim result : result = 0
Dim a : a = 5
Dim b : b = 10
ExecuteGlobal "result = a + b"

Example 2

Dim subStr : subStr = "Sub HelloWorld() : MsgBox ""Hello World!"" : End Sub"
ExecuteGlobal subStr

Example 3

function SetDict(strArg)
    Call ExecuteGlobal("Set "&strArg&" = Server.CreateObject(""Scripting.Dictionary"")")
end function

Reference

http://www.gwmicro.com/Support/Knowledge_Base/?kbnumber=GWKB2035