Skip to Main Content
Fluent Visual Basic®
book

Fluent Visual Basic®

by Rebecca M. Riordan
October 2011
Intermediate to advanced content levelIntermediate to advanced
880 pages
14h 44m
English
Sams
Content preview from Fluent Visual Basic®

6. The Language, Part 2: Transitive Verbs

In the last chapter you saw how to create the nouns of Visual Basic: declared elements. In this chapter, we’ll look at one of the two kinds of verbs: the EXPRESSIONS that are roughly (very roughly) equivalent to transitive verbs. (If it’s been awhile since you studied grammar, a transitive verb is one that takes both a subject and an object: “He bought the book.”)

Many people equate programming expressions to mathematical formulae. That’s not wrong, exactly, but expressions are a lot more than that. Of course you can say, “x = 1 + 1” in Visual Basic, and you’ll use an expression to say it, but you’ll also use expressions to say things like, “If Dumbo is an elephant, give him some peanuts” and “Greedy ...

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

Visual Basic® 2012 How to Program, Sixth Edition

Visual Basic® 2012 How to Program, Sixth Edition

Paul Deitel, Abbey Deitel
Microsoft® Visual Basic® 2010 Developer’s Handbook

Microsoft® Visual Basic® 2010 Developer’s Handbook

Klaus Löffelmann and Sarika Calla Purohit

Publisher Resources

ISBN: 9780132900577Purchase book