You don't define strings in ASP, they are variants. What you have is correct for putting a string into a variant assuming that you specified Language=VBScript.
This what I use
Code:
<%@ Language=VBScript EnableSessionState=False %>
<%
Option Explicit
response.buffer = true
response.expires = 0
%>
<%
dim strkey
dim strFirstName
dim strLastName
dim strproductCode
%>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.