473,386 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Jump To End Of Loop

See line beginning with WHAT GOES HERE .....

Do Until .........................
Code
....
....
If .............. Then
WHAT GOES HERE TO JUMP TO THE END OF THE LOOP AND LOOP AGAIN
End If
Processing Code
....
....
Loop

Thanks,

Sandy
Nov 12 '05 #1
2 3375
On Sun, 18 Jan 2004 00:34:07 GMT, "Sandy" <sm*****@earthlink.net>
wrote:

Exit Do
-Tom.

See line beginning with WHAT GOES HERE .....

Do Until .........................
Code
...
...
If .............. Then
WHAT GOES HERE TO JUMP TO THE END OF THE LOOP AND LOOP AGAIN
End If
Processing Code
...
...
Loop

Thanks,

Sandy


Nov 12 '05 #2
The Exit Do will jump you completely out of the loop, not take you to the
end to loop again. Instead try:

Do Until .........................
Code
...
...
If .............. Then
WHAT GOES HERE TO JUMP TO THE END OF THE LOOP AND LOOP AGAIN
Else
Processing Code
...
...
End If
Loop

Since you only want the last part to run if the If statement is False, place
it in the Else portion of the If statement.

--
Wayne Morgan
Microsoft Access MVP
"Sandy" <sm*****@earthlink.net> wrote in message
news:3w*****************@newsread1.news.atl.earthl ink.net...
See line beginning with WHAT GOES HERE .....

Do Until .........................
Code
...
...
If .............. Then
WHAT GOES HERE TO JUMP TO THE END OF THE LOOP AND LOOP AGAIN
End If
Processing Code
...
...
Loop

Thanks,

Sandy

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jinming Xu | last post by:
Hi Everyone, I have a very simple python program, which includes a while loop. But to my surprise, it cannot jump out the while loop. Does anyone know why? Here is the program:...
15
by: Scott | last post by:
I need to be able to jump to the start of my code if a particular radio button is not pressed. How do I this??? The goto line1 does not work? Any ideas? Scott If Not RadBut4.Checked Or...
4
by: Steve | last post by:
C# I am iterating through a collection of rows thus: foreach(DataRow myRow in dsTable.Table.Rows) { ........... } in this loop I have some conditions and when one is met I dont want it to
2
by: Leo | last post by:
I set HasMorePages to true, but it doesn't let me jump to next page. (Of course, if I remove the HasMorePages = false in my if statement, it will create hundreds of pages). Any suggestion? Thanks...
6
by: Todd A. Anderson | last post by:
I have a function foo of which I need to get the address. The problem is that when you say "&foo" (or just foo for that matter), you get the address of this function's entry in a jump table and...
43
by: dev_cool | last post by:
Hello friends, I'm a beginner in C programming. One of my friends asked me to write a program in C.The purpose of the program is print 1 to n without any conditional statement, loop or jump. ...
1
by: =?Utf-8?B?bGlhbnF0bGl0?= | last post by:
Is using a jump statement more faster than using if statement with a jump statement example for(int i=0; i < 10; i++) { if(a == null) {
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.