View Single Post
  #4 (permalink)  
Old July 16th, 2007, 07:58 AM
mmcdonal mmcdonal is offline
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You can do this without storing every single line in the table. The code counter can be made to do this arithmetic for you. From this sample, it could return and store 19 (22-3=19). Do you want it to store this value? Or do you want it to store every complete line of code, or do you want it to store every line of code at the 7th chraracter, etc? Answer that question and I can post the code.


mmcdonal
Reply With Quote