Skip to main content This browser is no longer supported. Show
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Do...Loop Statement (Visual Basic)
In this articleRepeats
a block of statements while a Syntax
Parts
RemarksUse a You can use either You can test The condition usually results from a comparison of two values, but it can be any expression that evaluates to a Boolean Data Type value ( You can nest Note The Exit DoThe
Exit Do statement can provide an alternative way to exit a
You can include any number of When used within nested Example 1In the following example, the statements in the loop continue to run until the
Example 2The following example uses a
Example 3In the following example,
Example 4The following example reads all lines in a text file. The OpenText method opens the file and returns a
StreamReader that reads the characters. In the
See also
FeedbackSubmit and view feedback for Additional resourcesAdditional resourcesIn this articleWhich of the following statement is false regarding consumer decisions and the consumer decision process?Consumers are more likely to become bored on sensory attributes such as taste. Which of the following statements is FALSE regarding consumer decisions and the consumer decision process? Consumer decisions are rational and functional; otherwise they do not involve decisions per se.
Which of the following is a primary source of information available to consumers quizlet?The five primary sources of information available to consumers are memory, personal sources, independent sources, marketing sources, and experiential sources.
Which of the following is not an appropriate condition to attempt to influence generic problem recognition?Which of the following is NOT an appropriate condition to attempt to influence generic problem recognition? The firm has a small percentage of the market.
Which of the following is often used as a surrogate indicator of quality?Consumers use price as a surrogate indicator of quality if they lack product information or confidence in their own ability to make the choice on other grounds (Schiffman and Kanuk, 1996).
|