View Single Post
  #10 (permalink)  
Old 02-28-2006, 12:22 PM
nohills nohills is offline
Member
 
Join Date: Nov 2005
Posts: 84
nohills is on a distinguished road
script

Hi Nic,

Appreciate your work.

Quote:
Originally Posted by Nicholishen
Here is a simple script to do what you are wanting.
I think there is 1 error in this script:

for (int i=0;i<=PeriodsBack;i++)

must be:

for (int i=0;i<PeriodsBack;i++)

In your example it will go 11 times through the for loop
Reply With Quote