I have what I think is a very simple looping question. I've looked in the scripting index and scripting guide and I just can't seem to figure it out.
 
All I need to do is to create a table with a list of years beginning with defined earliest year and going to a defined latest year. So say 1960, 1961, 1962, etc. with one year in each row. The script I am using returns a blank column. Here it is...
 
Names Default to Here(1);
minYear = 1947;
maxYear = 2024;
dt = New Table ("Years by Quarter",
	Add Rows (maxYear - minYear),
	New Column("Year", Ordinal) 
);
For (i=minYear, i<maxYear, i++, for each row(i));
Can someone tell me what I'm missing here?
 
Thanks much as always.