Have a csv file having 25 columns d1 to d25

Trying to do a loop aginst the columns

scalar lo1=d1
scaler lo2=d2
.
.
.
.
.
scaler lo25=d25

Loop k=lo1..lo6
    Loop m=lo6..lo12


but give a error

directly loop k=d1..d6 also give error


how to reference the columns