Mar 27, 2017
Hi I am getting error while I run this code.
Is there any mistake i am overlooking ?
//Remove brackets in All Column names
dt1 << deselect all();
//int i = 0;
For (int j = 7, j <= 86, j ++,
col = Column (j);
colname = "I" || Char(j-6) || "_nA";
col << Set Name(colname);
Jun 23, 2011
It appears that you're trying to declare a variable type before your variable j by prefacing it with int.
There are a couple of issues with this:
Just remove the "int" and your code should not produce the error.