Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to ASP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am a vb programmer trying to gain a foothold in working with ASP. Could someone send me a brief sample of code using vb script that I might use as a referance as I am getting started?
 
the basic of basic. Borrowed from asp101.com

<%
Dim I ' declare our loop index variable
%>

<%
' Start the loop telling it to loop from 1 to 5 incrementing
' I by one (which is the default) on each pass.
'
' ie. this would have done the same thing:
' For I = 1 To 5

For I = 1 To 5 Step 1
' Output our HTML and text using the value of I as
' the FONT TAG's SIZE attribute.
%>
<FONT SIZE=&quot;<%= I %>&quot;>Hello World</FONT><BR>
<%
Next ' Bounce back to the top of the loop
%>

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top