Ending loop after last file is opened.
Posted: Thu Oct 23, 2008 10:44 am
Team, can you please provide some guidance on what is a quick and efficient way to end a file loop which reads or opens files.At present I have code which loops in infinity but what is a way for it to stop at the last file and end the process.Do you have a quick algorithm you can share - I know how to create a variable which will count the files, but how do I create the step where robotasks compares the variable with the actual current number of the current file and if they are equal it stops the process.