<%@ LANGUAGE = VBScript %>
<% Option Explicit %>
<HTML>
<HEAD>
<TITLE>Variable Sample</TITLE>
</HEAD>
<BODY BGCOLOR="White" topmargin="10" leftmargin="10">
<!-- Display Header -->
<font size="4" face="Arial, Helvetica">
<b>Variable Sample</b></font><br>
<hr>
<H3> Integer Manipulation </h3>
<%
' Declare variable
Dim intVariable
' Assign the variable an integer value
intVariable = 5
%>
<P><%=intVariable%> + <%=intVariable%> =
<%=intVariable + intVariable%></p>
<HR>
<H3> String Manipulation </h3>
<%
' Declare variable
Dim strVariable
' Assign the variable a string value
strVariable = "Jemearl"
%>
<P>This example was done by <%=strVariable + " Smith" %></p>
<HR>
<H3> Boolean Manipulation </h3>
<%
' Declare variable
Dim blnVariable
' Assign the variable a boolean value
blnVariable = true
' Output message based on value
If (blnVariable = true) Then
Response.Write "<P>The boolean value is True.</P>"
Else
Response.Write "<P>The boolean value is False.</P>"
End If
%>
</BODY>
</HTML>