View Single Post
03-18-2005, 10:50 PM
#3
Adam is offline Adam
Adam's Avatar
Status: Member
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 433
iTrader: 0 / 0%
 

Adam is on a distinguished road

  Old

thanks

I managed to create the following with out to much problem. its only basics but my breind knowledge of vb6 (which i last touched a year ago!) helped out

Code:
<%@ Page Language="VB" %>
<%

   response.write("<font face=verdana size=2>")

        '
        'SET VARIABLE
        '
        Dim I As String = "This is a variable"
    	Dim loopa As Integer
    
        response.write(I + " <br /><pre>I = This is a variable</pre><hr />")
    
        '
        'IF STATEMENT
        '
        response.write("<b>This is an if statement</b><br />")
        If I = "This is a variable" Then
        	response.write("The same!")
        Else
        	response.write("Not the same")
        End If
    
        '
        'LOOP
        '
        response.write("<hr /><b>This is a Loop</b><br />")

        For loopa = 0 to 10 Step 1
        	Response.Write("Row " & loopa & "<br />")
        Next loopa

   response.write("</font>")
%>
but want to start getting into talking to forms and databases now