View previous topic :: View next topic
|
Author |
Message |
dasan
New User
Joined: 24 Oct 2006 Posts: 10
|
|
|
|
Hi
what is the difference between Index variable and normal variable |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
An Index variable is a variable defined as a part of u r table index
While a normal variable is a variable used to store data temp..
eg:if u r defining a table(array)
as PLAN-DATA-COUNT OCCURS 10 TIMES indexed bu sub1
so sub1 will keep that count (1 to 10) something like
(sub1=1;sub1<10;sub1++) |
|
Back to top |
|
|
dasan
New User
Joined: 24 Oct 2006 Posts: 10
|
|
|
|
Thanks Vm |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi there,
Few more points...
Index variable can not be use with compute verb.
we can use only
set index-var up by 1
or
set index-var down by 1
Index variable is updated by search. |
|
Back to top |
|
|
|