Page 83 - Open Soource Technologies 304.indd
P. 83

Kumar Vishal, Lovely Professional University    Unit 4: VB Programming Fundamentals





                            Unit 4:     VB Programming Fundamentals





                 CONTENTS


                 Objectives
                 Introduction

                 4.1 Data Types
                     4.1.1 Visual Basic Data Types

                 4.2 Variables
                 4.3 Variables Declaration

                     4.3.1 The Dim Statement
                     4.3.2 Selecting  Variable Types

                     4.3.3 Converting Between Data Types
                     4.3.4 Setting Variable Scope
                     4.3.5 Implicit and Explicit Variable Declaration

                     4.3.6 Using Option Explicit Statement
                     4.3.7 Comparing Implicit and  Explicit Variable Performance

                     4.3.8 Providing  Names for your Variables
                     4.3.9 Variables Scope and Lifetime

                    4.3.10 Local Variables
                    4.3.11 Static Variables

                    4.3.12 Module Level Variables
                    4.3.13 Public vs Local Variables

                 4.4 Summary
                 4.5 Keywords

                 4.6 Self Assessment Questions
                 4.7 Review Questions

                 4.8 Further Readings



                                      LOVELY PROFESSIONAL UNIVERSITY                         77
   78   79   80   81   82   83   84   85   86   87   88