i need t read and write to files. but the problem is there are several of them, and they vary according to numbers..
for example, i need to read from r1t001, r1t002...and so on, and write to files with similar names... the second number in the file names have a buffer zeros...
i know i need variables which can change in loops, but how do i implement this in filenames and also have the buffer of zeros in the case of single, and tens of numbers..
thanks in advance!