J
jim
I have an example that iterates through the fso folders collection etc for
the fso files collection. The problem is this:
the example uses an enumerator to cycle through the collection items and i
would like to use a for loop but I can't get the syntax correct.
for (var i=1;i<=length;i++) {
eFile=oFldr.files;
alert(eFile.item(1).type);
}
TIA
the fso files collection. The problem is this:
the example uses an enumerator to cycle through the collection items and i
would like to use a for loop but I can't get the syntax correct.
for (var i=1;i<=length;i++) {
eFile=oFldr.files;
alert(eFile.item(1).type);
}
TIA