answersLogoWhite

0


Best Answer

A global variable is available for use throughout the program. It is normally declared outside any procedure. A local variable is only available for use in the procedure it was declared in. Most variables are local, but there will be occasions when you want different procedures to be able to use the same variable. This is when you use a global variable.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are global variable different from local variable in Visual BASIC?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is building blocks of visual basic?

Hi, enum, global variable, local variables, constants, arrays, boolean operator are building blocks.


How many variable in visual basic?

many


What are numeric constant in visual basic?

It is a variable that can not be changed such as PI.


What is used to declare variables in Visual Basic?

declaration of variable is dim a as integer


What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


When defining a variable in visual basic what key word appear at the beignning of the statement?

Dim x as integer = 7


How would you write Visual Basic Code to declare an Integer variable called intNumber?

Dim intNumber As Integer


Different basic command use in visual foxpro?

what are the basic commands in Fox Pro


What are the different Visual Basic Net versions?

1,2,3,4,5,6,8,and 10


What are the different program structure of visual basic?

Program in visual basic are the component being used by the programer that will give the user fast and easy way.


What is difference java and visual basic programming?

java is a server side programing where as visual basic is a client side programing(This programing Language is different from oops)


What are the different type of control structure in visual basic?

deleting control