Hi Santos,
You can use a loop to select every other column. Then the rowstats XF will work on the selection:
// Select every other col starting from col 2
for(ii = 2 ; ii <= wks.ncols ; ii+=2)
{
wks.colSel(ii,1);
}
// Stats will work on selected cols
// Mean and sd are default outputs, so do not need to specify
rowstats;
// Optional - deselect the cols
wo -s;
Easwar
OrignLab