Tim
10/10/2024, 5:22 PMlist = DirectoryList(Expand("./"), false, "name", "*.log");
for( i = 1; i <= list.len(); i++ ) {
WirteDump(list[i]);
}
will list the filesTim
10/10/2024, 5:23 PMlist = DirectoryList(Expand("./"), false, "name", "*.log");
for( file in list ) {
WriteDump(file);
}
outputs an empty struct.Tim
10/10/2024, 5:24 PMlist = DirectoryList(Expand("./"), false, "name", "*.log");
for( file in list ) {
WriteDump(file.toString());
}
gives me {}
Tim
10/10/2024, 5:24 PMfile
it complains that it's not a simple variable.Tim
10/10/2024, 5:25 PMRobert Zehnder
10/10/2024, 5:29 PMlist
?Matt Jones
10/10/2024, 5:33 PMRodney
10/10/2024, 5:51 PMlist = directoryList(expandPath("./"), false, "name", "*.log");
list.each((file) => {
writeDump(file);
});
Rodney
10/10/2024, 5:52 PMTim
10/10/2024, 6:00 PMTim
10/10/2024, 6:00 PM