When I do something like the code below, the select statement works up to the point of about 3 items. If I add more, the items after 3 is not recognized anymore (ie. it skips the select statement for example for ".jpg"). Any ideas why (B4A version 2.52)???
Select fileExt
Case ".txt": ' *** Text files ...
Case ".htm": ' *** HTML files ...
Case ".html":
Case ".png": ' *** Images files ...
Case ".jpg":
' *** Do something with file ...
Case ".mp3": ' Audio files ...
Case ".wma":
' *** Do something with audio file ...
End Select
Select fileExt
Case ".txt": ' *** Text files ...
Case ".htm": ' *** HTML files ...
Case ".html":
Case ".png": ' *** Images files ...
Case ".jpg":
' *** Do something with file ...
Case ".mp3": ' Audio files ...
Case ".wma":
' *** Do something with audio file ...
End Select