ASP/VBScript Nothing() Declare variables type Nothing.
ShotDev Focus:
- Declare variables type Nothing.
Example
asp_nothing.asp
<% Option Explicit %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim objFileSys
Set objFileSys = CreateObject("Scripting.FileSystemObject")
Response.write objFileSys.GetDrive("C")
Response.write objFileSys.GetDrive("D")
Set objFileSys = Nothing
%>
</body>
</html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_nothing.asp
Screenshot
.
.
.


