evaluated string for filter doesn't work
Sivakatirswami
katir at hindu.org
Tue Jul 29 00:31:14 EDT 2008
yep that was it... I was using "the detailed files" and forgot to add
the * on the end
Andre Garzia wrote:
> 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
>>
>>
>
>
>
>
More information about the use-livecode
mailing list