Skip to Content
VB.NET Language in a Nutshell, Second Edition
book

VB.NET Language in a Nutshell, Second Edition

by Steven Roman PhD, Ron Petrusha, Paul Lomax
April 2002
Intermediate to advanced
688 pages
19h 51m
English
O'Reilly Media, Inc.
Content preview from VB.NET Language in a Nutshell, Second Edition

Program Structure and Flow

Element

Description

Call statement

Calls an intrinsic or user-defined procedure or function, a method, or a routine in a dynamic link library

CallByName statement

Dynamically executes a class method, property let, or property set

Do...Loop statement

Repeatedly executes a block of code while or until a condition is true

Exit statement

Prematurely exits a code block

End statement

Marks the end of a block of code

For...Next statement

Iterates through a section of code a given number of times

For Each...Next statement

Iterates through a collection or array of objects or values, returning a reference to each of the members

GoTo statement

Passes program flow to a portion of code marked by a label

If...Then...Else statement

Defines a conditional block or blocks of code

Return statement

Transfers control from a function or procedure and returns a value from a function

Select Case statement

Executes one out of a series of code blocks based on the value of an expression

Stop statement

Suspends program execution

While...End While statement

Executes a block of code until a condition becomes False

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB .NET Language in a Nutshell

VB .NET Language in a Nutshell

Steven Roman PhD, Ron Petrusha, Paul Lomax

Publisher Resources

ISBN: 0596003080Supplemental ContentCatalog PageErrata