Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Hopefully, you realize that BCT does not reference the array. . . BCT is a way to control the iterations thru the loop.
More often (in code i've written or supported), the BCT is not used. After incrementing the address in the array, it is usually checked to see if the end of the array has been reached. BCT means that you have to have to count entries each time there are adds or deletes to the table. If you use the end-of-table address (next byte after the table), the code controlling the loop does not need to be changed. I was once asked to look into a program problem that was caused by entries being modified in a similar array, but the count was not properly changed. It had been running wrong for a long time before the error was discovered. . .