|
-
Sep 14th, 2003, 09:14 AM
#1
Thread Starter
Fanatic Member
While looping, skip current item if it meets a certain condition
I am looping through a collection of files, putting in the filesize as I go. However, I have a delimiter that changes to the previous directory in the path (EX: It will change to C:\Dir1 if I'm in C:\Dir1\Dir2.)
The problem is that it will also include that in the loop, since it's also a list item. I need to do something like this:
If the current item in the loop is my delimiter string (in this case ".."), then skip the item.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|