ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






STATEMENT:  Set

Set

The Set statement assigns the object reference to a variable or property. (i.e., create an instance of a specific object)

The keyword Nothing is used to unassign the object reference from the variable or property.

Code:
<%
Set anyvariable = Server.CreateObject("Scripting.FileSystemObject")
%>

<% Set anyvariable = Nothing %>