home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH02 / A02243.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-22  |  298.6 KB  |  1 channel  |  11,025 sample rate  |  27 seconds
Transcription: The example shows a go-to statement that is used to jump out of a nested loop. This function could be written without using a go-to statement and is usually best to avoid using go-to statements. However, there are some situations where a go-to is needed, such as exiting a nested loop abnormally. Rather than having a break in the inner loop and then check for the break and then another break in the outer loop, a go-to can be used.