Can you explain what you are trying to do and what the problem is?
Recommendations: Don't be so lazy when typing in the names of variables. Give them names that mean something. Do Not use short names like: n, i, y, c.
name=n;
id=i;
year=y;
course=c;
Instead of reading into one variable and copying to another, read the data directly into where you want it.
NormR1
Posting Expert
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656