Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Statements
Do....Loop Statement
STATEMENT: While
While
. . .
WEnd
The
While
conditional statement repeats a block of code as long as a conditional test is
True
.
You must end
While
statements with
WEnd
or you will get an error message. You can place
While
statements inside of other conditional statements.
Code:
<%
While testnumber = 1000
Rem You can place all of the code you desire inside a While loop
WEnd
%>
Code:
<%
While Hour(Time) < 6
Rem You can place all of the code you desire inside a While loop
WEnd
%>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information