Chapter 7

VARIABLE
A variable is an entity that is changeable during th time of program execution.
Variables are assigned on the left-hand side of the equal sign.
Numeric Variable
Numeric Variables may be single letter of the alphabet followed by one of the numerals from 0 to 9.
String Variable
String Variable facillate to enter the string or text.String Variables are represented with an alphabet followed with a dollar sign.



CONSTANT
A Constant ia an expression which does not change throughout program execution.
A Constant is a fixed notation. The notation may be string or number.
Numeric Constant
Numeric Constant are the values assigned to the right of equal sign that cannot be changed
The numbers refferred as fixed values for numeric processing are Numeric Constants
String Constant
String Constant are valid BASIC characters enclosed in double quotes written on the right of equal sign, which are assigned to a variable on the left.
Ex. A$="AC MILAN"

This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free