Can someone pls explain how this works?
IF (WFD.dwFileAttributes AND 16) = 0 THEN
in
How can you test "16"?
Obviously it is never equal to 0 so this should allways fail
yet it doesnt.
I dont get it.
------------------
Kind Regards
Mike
IF (WFD.dwFileAttributes AND 16) = 0 THEN
in
Code:
DO IF (WFD.dwFileAttributes AND 16) = 0 THEN ' Exclude dirs INCR Cnt REDIM PRESERVE Fi(Cnt) Fi(Cnt) = RTRIM$(wfd.cFileName, ANY CHR$(0,32)) END IF IF ISFALSE FINDNEXTFILE(hFind, wfd) THEN CALL FINDCLOSE(hFind) : EXIT DO LOOP
Obviously it is never equal to 0 so this should allways fail
yet it doesnt.
I dont get it.
------------------
Kind Regards
Mike
Comment