This Visual Basic tutorial is all about Variables.
What is a Variable? Variable is the most important in a computer programming. All programming languages used variable to stores and holds temporary data until it is released.


You will not appreciate the importance of variable at this moment. But as you continue in programming you will realize what I’m taking about.


In declaring variables, the first thing that you have to do is to type the “Dim“.

See the Example below:

  1. Dim name As String
  2. name = "Janry"

Here’s the example to display the value that stored in a variable.

  1. Dim name As String
  2. name = "Janry"
  3. MsgBox(name)


Readers might read also:




Facebook Comments


Please enter your comment!
Please enter your name here