<kr*****************@gmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
: Hello,
:
: I have a simple 'For Next'-code (see at the bottom).
:
: In the middle of the loop I want an IF-statement, which (if it is true)
: jump over to next level.
:
: I thought I could solve it through simple just writing an IF-statement
: and put Next in the middle, but an error message appears.
:
: Do you know how I can solve it?
:
: <%
: For m = 0 To Ubound(minArray,2)
:
: If Isnull(minArray(0,m)) or minArray(0,m) = "" Then
: Next
: End If
:
: Response.Write "Hello world!"
:
: Next
: %>
<%
For m = 0 To Ubound(minArray,2)
if minArray(0,m) <> "" then Response.Write "Hello world!"
next
%>
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp