Guaranteed Hits to your web site!












Learn Visual Basic 6.0


2. The Visual Basic Language


The GoTo Statement

  1. 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.

  2. GoTo Example:
    When the code reaches the GoTo statement, program control transfers to the line labeled Line10.


Pen Line


Counter Hit Counter Hit


This Homepage is special brought to you by CK Tan
Hosted by www.Geocities.ws

1