asptest1.asp
<HTML> <TITLE>Constants</TITLE> <BODY> <% 'BEGIN ASP SCRIPT Dim nTotal 'Initialize a numeric variable Const cnDiscount = .10 'Set this numeric constant 'to a value nTotal = 20 'Set this numeric variable 'to a value %> <!–END ASP SCRIPT ––> Your $<%=nTotal%> total with a 10% discount is $<%=nTotal – (nTotal * cnDiscount)%>! </results> </html>
nTotal
wwwroot
http://localhost
C:\webshare\...