description | title | ms.date | helpviewer_keywords | ms.assetid | |
---|---|---|---|---|---|
Learn more about: Control Flow Summary (Visual Basic) |
Control Flow Summary |
07/20/2015 |
|
6885d426-fa87-4e1c-881f-f0e9ec8d98af |
Visual Basic language keywords and run-time library members are organized by purpose and use.
Action | Language element |
---|---|
Branch. | GoTo, On Error |
Exit or pause the program. | End, Exit, Stop |
Loop. | Do...Loop, For...Next, For Each...Next, While...End While, With |
Make decisions. | xref:Microsoft.VisualBasic.Interaction.Choose%2A, If...Then...Else, Select Case, xref:Microsoft.VisualBasic.Interaction.Switch%2A |
Use procedures. | Call, Function, Property, Sub |