Options

for each?

FTD83FTD83 Member Posts: 3
Help! I'm trying to using the FileSystemObject automation thingy, and I'm doing fine until I get to the bit where I'd normally do a For Each file In folder loop. How do I do this in C/AL?


fso is FileSystemObject

CREATE(fso);
objFiles := fso.GetFolder('C:\Folder').Files;

FOR EACH objFile In objFiles DO; ???? what should this be?
MESSAGE(objFiles.Item().Name);

Comments

Sign In or Register to comment.