Site pages
Current course
Participants
General
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
Topic 6
Topic 7
Topic 8
Topic 9
Topic 10
Topic 11
Topic 12
Topic 13
Topic 14
Topic 15
Topic 16
Topic 17
Topic 18
Topic 19
Topic 20
Topic 21
Topic 22
Topic 23
Topic 24
Topic 25
Topic 26
Topic 27
Topic 28
Topic 29
Topic 30
Topic 31
Topic 32
Topic 33
Topic 34
Topic 35
Variables
Its value changes during execution. A variable must have a name. The name refers to the memory location where the value of the variable is stored. The name of the variable may consist of one to eight characters. The first character must be an alphabet and may be followed by alphabets or numerals. There are two types When the value is numeric, it is called numeric or Arithmetic variable and can be used in arithmetic computations. When the value is non-numeric, it is called string or non-numeric variable and cannot be used in arithmetic calculations. A string variable must consist of a name followed by a dollar sign ($). Eg. LET A$ = “PAUL”. The string variable should be assigned a string constant only, while the arithmetic variable is assigned a numeric constant only |
Last modified: Tuesday, 10 January 2012, 3:55 PM