Chapter 5 - VB.NET Language and Syntax - Part 2
Tutorial
More on Numbers and VB.NET
If you're interested in digging into numbers as used by computer systems in general, you might want to try the About Visual Basic article, Computer Number Systems.
You can tie together the concepts that I presented in my suggestions for changing the MsgBox code in the Variable Test program earlier with the book's comments about User-Defined Data Types and Constants. Recall the MsgBoxResult and MsgBoxStyle types from earlier in this lesson. These are nothing more than types that VB.NET has defined in much the same way that the book describes in User-Defined Data Types. And the enumeration values, vbYesNoCancel and Information that are added together to get the "magic number" 67 are defined by VB.NET much like the user constant Pi in the book.
--please complete the text up to the Working with Visual Basic Operators section of Chapter 5 now-----
- How to use InputBox and MsgBox as the first examples of function statements
- "Magic" Numbers in the Code
- Trying Out Changes in the Book's Code
- Windows Form Designer Generated Code
- More on Numbers and VB.NET
- Math and Programming
- Examples of the Math Operators
- What Should Have Been Included in the Book
- Qualifying With System.Math
- The Bottom Line!

