Re: Loopfile method - WeOnlyDo Discussion board

Re: Loopfile method (General questions)

by Jason, Monday, December 12, 2005, 20:30 (6921 days ago) @ wodSupport

As for blocking, yes you can use it, but if you don't have events you're in trouble - first error that happens will cause GetFiles/PutFiles to stop due that error.

Meaning that I can use the GetFiles/PutFiles methods in blocking mode, but I still have to define events for them? What happens if I don't put any code in those event subroutines?

It may be easier just to parse the ListItem property anyway. Dealing with events is a little harder, as I'd be worried that my main code would finish or jump to the next section before all the LoopEvent Events fired.

Maybe a LoopItem Collection Property that you could use in blocking mode might be a good idea for the future?

-Jason


Complete thread: