In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "the usage of While...Wend sentence in VBS". The content of the explanation in this article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the usage of While...Wend sentence in VBS.
When the specified condition is True, a series of statements are executed.
While condition
& nbsp; Version [statements]
Wend
Parameter condition
A numeric or string expression that evaluates to True or False. If condition is Null, condition is treated as False.
Statements
One or more statements executed when the condition is True.
Description
If condition is True, all statements before the Wend statement in the statements will be executed, then control will be returned to the While statement, and the condition will be rechecked. If condition is still True, repeat the above process. If not True, the program continues to execute from the statement after the Wend statement.
A While...Wend loop can be a multi-layer nested structure. Each Wend corresponds to the most recent While statement.
Note that the Do...Loop statement provides a more structured and adaptive way to execute the loop.
The following example illustrates how to use the While...Wend statement:
Dim CounterCounter = 0 'initializes the variable. While Counter < 20 'test the value of the counter. Counter = Counter + 1 'increments the counter. The Alert CounterWend 'counter is greater than 19:00 to end the loop. Thank you for reading, the above is the content of "the usage of While...Wend sentence in VBS". After the study of this article, I believe you have a deeper understanding of the usage of While...Wend sentence in VBS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.