2. The Visual Basic Language
The GoTo Statement
- Another branching statement, and perhaps the most hated statement
in programming, is the GoTo statement. However, we will need
this to do Run-Time error trapping. The format is GoTo Label,
where Label is a labeled line. Labeled lines are formed by
typing the Label followed by a colon.
- GoTo Example:
When the code reaches the GoTo statement, program control transfers
to the line labeled Line10.
Counter Hit
This Homepage is special brought to you by CK Tan