Hi...
I still got some problems with making a "multi-Pattern" fileSelector.
I tried This :
...
filter=fl_set_dirlist_filter(ffilter2);
dirList=fl_get_dirlist(buffer,"*.*",&nbFiles,0);
...
/*******************************************************/
int ffilter2(const char *name,int type)
{
return ( (type==FT_FILE) &&(strstr(name,".ric") || strstr(name,".nc") )
);
}
my problem is that the ffilter2() function still return Directories.
so ...what's wrong with my piece of code ?
thanks for any help...
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/