Hi
I got a problem with find next for looping through files in a
directory. This is the code in simplified form:
FIND FIRST
WHILE GET FILE TYPE()>=0
FileString = GET FILE NAME$()
IF RIGHT$(FileString, 4) = ".scr"
PRINT "File = '" + FileString + "'"
ELSE
PRINT "Other File = '" + FileString + "'"
ENDIF
FIND NEXT
ENDWHILE
The problem is now, that this routine only shows me the following
list:
So only the first file in the directory is found, although there
are two files in the folder.
I also tried it with more than two.
I also tried it with files of different file types.
No matter what I do I will just find one file.
I don“t really get it.