View previous topic :: View next topic |
Author |
Message |
SHANKS Beginner
Joined: 04 Jul 2007 Posts: 2 Topics: 2
|
Posted: Sun Jul 08, 2007 9:28 am Post subject: What is index?What are the advantages over subscript? |
|
|
I had used subscripts in application programming.I had never used indexes.I wanted to know what are indexes and what are its advantages? |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Sun Jul 08, 2007 9:49 am Post subject: |
|
|
Here is a link to the COBOL documentation which has a rather good write-up.
In addition, the page discusses other topics.
If this page does not answer all your questions, use the Search feature.
Though this is Enterprise COBOL documentation, what is said here applies to all IBM COBOL. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
jajularamesh Beginner
Joined: 14 Apr 2006 Posts: 87 Topics: 33
|
Posted: Mon Jul 09, 2007 7:34 am Post subject: |
|
|
Hi Shanks,
Indexes are like register variables in C.Register variables uses Registers for storage which are accessble very fast.
So in other languages especially for looping Register/ Indexed variables are used.
Using index variables over subscript variables improves the performance.
Regards,
Ramesh |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|