Programming Languages
C
Subjective
Mar 15, 2013
What is the difference between a subscript and an index in a table definition?
Detailed Explanation
A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decrements by ADD TO and SUBTRACT FROM statements. An index is a register item that exists outside the program’s working storage. You SET an index to a value and SET it UP BY value and DOWN BY value.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts