Skip to Content
Visual Basic® Style Guide, The
book

Visual Basic® Style Guide, The

by Tim Patrick
May 2000
Intermediate to advanced
365 pages
9h 48m
English
Pearson
Content preview from Visual Basic® Style Guide, The

Instantiation Standards

Now that you have decided on names for your variables, constants, controls, and other elements of your application, it is time to put them into active use. Instantiation is the process of adding declaration elements to your source code.

Instantiation of Variables

Because all of your modules will contain the Option Explicit statement, you are required by the Visual Basic development environment to declare every variable before use. Take care in declaring your variables, as these declarations will determine the range of values available for each variable. Declare your variables in known locations, and in a consistent manner.

Visual Basic contains six types of variable declaration: global, module, local, static, passed, and ...

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 Unleashed, Second Edition

Visual Basic® 2012 Unleashed, Second Edition

Alessandro Del Sole
Microsoft® Visual Basic® 2010 Developer’s Handbook

Microsoft® Visual Basic® 2010 Developer’s Handbook

Klaus Löffelmann and Sarika Calla Purohit
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 0130883611Purchase book