evaluated string for filter doesn't work
Andre Garzia
andre at andregarzia.com
Mon Jul 28 23:58:35 EDT 2008
Aum Swami,
I use this all the time in our stacks, I use double asterisks like:
put "*.jpg*" into tFilter
filter tFiles with tFilter
and it works.
Andre
On Tue, Jul 29, 2008 at 12:25 AM, Sivakatirswami <katir at hindu.org> wrote:
> Field "extension" contains ".jpg"
>
> script has
>
> put ("*" & fld "extension") into tFilter
> filter tFiles with (quote &tFilter & quote)
> put tFiles into fld "Listing"
>
> result "nada!"
>
> Why?
>
> filter tFiles with "*.jpg" works
>
> and
>
> put tFilter
>
> returns
> *.jpg
>
> I tried this too:
>
> put (quote & "*" & fld "extension" & quote) into tFilter
> filter tFiles with tFilter
> put tFiles into fld "Listing"
>
> still "nada"
>
> ??
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode
mailing list