Question:
what is a Variables?
anonymous
2008-03-18 13:28:14 UTC
i'm doin programing and I started studing visual basics (VB) and i've been asked to give a defention forVisual basics (VB) lease help me i'm just a beginner.

thanx
Three answers:
Maligui
2008-03-18 13:33:10 UTC
Variables are holders of dynamic values. In other words, the value can change.



If a variable is declared Const then the value cannot change.
Paul B
2008-03-19 13:37:02 UTC
In a program variables are used to store temporary data while the code is executing. Once the program finishes any data stored in a variable is lost.
anonymous
2008-03-18 20:58:05 UTC
there for storing temporary information.

they come in many many flavors

some for hold numbers, some for letters, some for floating point numbers..and many more



there used for many things

IE variables could be used to hold your name in a programme or for, say holding the top score in a game..

IE

a=10....variable a now holds 10

print a...this will display the value for 'a' on the screen IE 10



for a=0 to 10

print a

next a . this will count to ten using the variable 'a'


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...