answersLogoWhite

0

Do while and Do until are interchangeable, and they take the opposite condition.

Do While executed the body of the loop while (condition=true), and Do until executes body of loop until (condition=true).

For example, if I was doing a Loop to say, while the check box is checked, display a message box (Never do this btw, it's just an example)

I could either say

Do While (MyCheckBox.Checked = True)

Loop

or

Do Until (MyCheckBox.Checked <> True)

Loop

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the difference between online and offline programming?

Online programming is programming that has to occur while the computer or other device is connected to the internet. Offline programming doe not require an internet connection.


What is the Difference between while and do while?

Both are programming commands. A do/while loop will execute at least once. A while loop may not execute at all.


What is the difference between static and dynamic programming?

in static programming properties, methods and object have to be declared first, while in dynamic programming they can be created at runtime. This is usually due to the fact that the dynamic programming language is an interpreted language.


What is the difference between the keyword "f" and "ff"?

The keyword &quot;f&quot; typically stands for &quot;function&quot; in programming, while &quot;ff&quot; is not a standard keyword and does not have a specific meaning in most programming languages.


What is the difference between 5 and '5'?

In C programming 5 is 5 (obviously), while '5' if 0x35 in ASCII, 0xF5 in EBCDIC.


What is the difference between a precondition and postcondition in C programming?

In C programming, a precondition is a condition that must be true before a function is called, while a postcondition is a condition that is guaranteed to be true after the function has been executed.


What is the difference between platform independent and portable in programming?

There is no difference. They mean exactly the same thing. Portable code is independent of the platform while non-portable code is platform-dependant.


What is the difference between software programming and hardwired programming?

(d) Hardware programming languages are concurrent in nature and executed a piece of code in parallel while a software programming language are sequential in nature and executed a piece of code sequentially.


What is the difference between a programming language and natural language?

A programming language is a formalized way to communicate instructions to a computer, while natural language is the way humans communicate with each other. Programming languages are designed for specific tasks and have strict rules, while natural languages are more flexible and used for everyday communication.


What is the difference between a declarative and imperative?

The difference between a declarative sentence and an imperative sentence is that a declarative sentence is a statement and an imperative sentence is a command.Here is an example of a declarative sentence:A spider has eight legs.Here is an example of an imperative sentence:Please go get me some water


Can you explain the difference between pointers and variables in programming languages?

In programming languages, variables are used to store data values, while pointers are variables that store memory addresses of other variables. Variables directly hold data, while pointers hold the location of where data is stored in memory.


What is the difference between SQL and the other programming languages?

SQL is a query based language that is used to manipulate data stored in a database while other languages process data.