ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

03-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)
Facebook Comments

Check Your Domain Ranking

Leave a Reply

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

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!