In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
How the use of VB.NET tag sentence is, many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
A common method in the VB.NET programming language is tagging statements. So how should we treat this application correctly and how to use it properly in the program to help us complete the development of the program? These problems will be given one by one in this article to help you solve some of the problems in the use of VB.NET tag statements.
A statement block consists of lines of code separated by colons. The line of code that identifies a string or integer is called marked. Statement tags are used to mark lines of code to be identified and are easy to use with statements such as On Error Goto.
Tags can be either valid Visual Basic 2005 identifiers, such as identifiers that identify programming elements, or integers. The label must appear at the beginning of the line of source code, followed by a colon, whether or not it is followed by a statement on the same line.
The compiler identifies the label by checking that the beginning of the line matches any defined identifiers. If it does not match, the compiler assumes it is a tag.
Tags have their own declaration space and do not affect other identifiers. The scope of the label is the body of the method. The tag declaration has priority in any fuzzy environment.
Be careful
Tags can only be used in executable statements within a method.
VB.NET markup statement marks lines of code
Place the identifier at the beginning of the line of source code, followed by a colon.
For example, the following lines of code are marked Jump and 120, respectively:
Visual Basic Jump: FileOpen (1, "testFile", OpenMode.Input) '... 120: FileClose (1) is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.