Reposted from Sina Blog:
1: Why not use the GOTO statement?
Source (from Wikipedia ):
Goto is a statement that can be found in many computer programming languages. It is an English word.GoAndTo. When executing this statement, it transfers the
Whether goto statements should be used
A goto statement is also known as an unconditional transfer statement , which is usually used in conjunction with a conditional statement to change the flow of the program, allowing the program to go
Objective
A goto statement is also called an unconditional transfer statement, and its basic form is as follows:
Statement marking by a valid identifier and symbol ";" , where the identifier's naming convention is the same as the variable name,
This article reproduced: http://blog.chinaunix.net/uid-26715658-id-3254915.htmlBreak and Continue use the same range, both can be used for loops, and the break in It can also be used for switch. function also has certain similarity, break is
In this program because of the use of the string cut in the last article, and the use of the Goto force Jump statementHowever, when used in the program, but found an error, when the character cut the code snippet if directly as a non-nested
Wrote several times the bat script, but has not summed up, recently found a webpage introduced bat, summed up very well, transferred from http://www.jb51.net/article/49627.htm:This article only summarizes I will not, the comprehensive view original
Error cs0001 internal compiler Error
Error cs0003 memory overflow
Error cs0004 escalation to error warning
Incorrect cs0005 compiler option should be followed by correct parameters
Error cs0006 unable to find the dynamic link metadata file
Error cs00
On Error statement
Starts an error handler and specifies the location of the subroutine in a process, or it can be used to suppress an error handler.
Grammar:
On Error GoTo Line
On Error Resume Next
On Error GoTo 0
The syntax of the On Error
Appendix B
Error CS0001 compiler Internal error
Error CS0003 Memory Overflow
Error CS0004 promoted to wrong warning
Error CS0005 compiler option should be followed by correct parameters
Many recent viruses that have speculated about weak passwords are popular on the internet, such as the Worm.dvldr worm, which has been a serious one for a while. What these viruses have in common is the use of batches for ipc$ connections to guess
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.