Hi,
currently I am trying to modify the script CSVtoHistory and transform multiple csv files at the same time.
In the manual I found the method file_next(string name) to access the filenames in a directory. The description points out that it can be used to loop well over the filenames in a directory.
Unfortunately, I haven't figured out how to access the next filename in each case, but always get only the first filename in the directory. Does anyone have a suggestion for a solution?
See below my current attempt to get the filenames...
function main()
{
int i;
for (i = 0; i < 10; i++) {
string Name = file_next("CollectedHistory\\*.csv");
printf("Der Filename lautet: %s \n", Name);
}
}