Hi!

Ive made i function that let a user put 1 to 100 pics in a folder. I let 
director import them to the dir file. Only problem is this:

I got a list call "lista" that contains pictures names
If user makes it right the list is looking like this for an example:
--
["bilder/1", "bilder/2", "bilder/3", "bilder/4", "bilder/5", "bilder/6", 
"bilder/7", "bilder/8", "bilder/9", "", "","","","",""]
--
--but if users make something wrong it looks like this
["bilder/1", "", "bilder/3", "bilder/4", "bilder/5", "bilder/6", "bilder/7", 
"bilder/8", "", "", "bilder/11","","","","",""]
--

If it is one or more empty position between these numbers i got problems! 
(like in this list example the user forgot pic 2, 9 and 10)
Best if i can tell the user where he got the gaps.

It is always 100 positions in the list no matter if the user have 1 or 100 
pics in the folder. I just shorten these examples :)

The user cant have same numbers in the list so that is no problem.

Can someone help me out?
/Mattias






_________________________________________________________________
H�mta MSN Explorer kostnadsfritt p� http://explorer.msn.se


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to