[Gambas-user] 0.80 bug or modification ?

Benoit Minisini gambas at ...1...
Mon Jan 5 12:48:05 CET 2004


On Monday 05 January 2004 12:52, danielcampos at ...282... wrote:
> >in dialog.filter
> >
> >the line:
> >Dialog.Filter ="Filtres Stratoria (*.flt)"
> >
> >give me the msg at runtime:
> >
> >Type mismatch: wanted String[], got String instead
> >
> >
> >this work perfectly in 0.74
>
> New documentation says "Filter" returns an array of strings,
> so it is a modification. It seems that now it works like the new Dir()
> function,instead of returning a string each time you call it, now it
> returns an array with all data at once.
>
> So, "Filter" returns an array with all filters currently applied.
>
> Regards,
>
> Daniel Campos
>
>

I did that so that the internal syntax of file dialog filters, which may 
differ between toolkits, is hidden.

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the User mailing list