Question: Using variables in a string

I am trying to write a script that will read in vector files using ImportMatrix, perform a simple calculation then output a matrix file using ExportMatrix.

 

The difficulty I am having is that I would like to do this on a number of files,

eg.

for i from 1 to 600 do

Mi:=ImportMatrix(rowi):

do calc....

ExportMatrix(matrixi,Mi):

end do:

The variable i is in italics where I would like to use it, is there a simple way to do this?

Any help is much appreciated,

Thanks

 

Briony

Please Wait...