Some Important Terms in VB

      No Comments on Some Important Terms in VB

We define Some Important Terms of VB, those are used in Visual Basic Programming like variables declaration and scope of variables.

Explicit Declaration:- We Should must use a statement to declare a variable. These statements describe the scope of the variable.

Scope of Variables :-

  • Dim – They are local to the procedure in which they are declared. E.G.-Dim num as integer.
  • Private -They can be used only in the procedure in which they are declared.E.g.-Private num as integer.
  • Public -They can be used in any procedure of a form code.E.g.-Public num as integer
  • Static -They are the variables which retain their value even after the procedure running is complete. E.g.-Static num as integer

Leave a Reply

Your email address will not be published. Required fields are marked *