Condtional parameters in handler calls

Peter Haworth pete at lcsql.com
Wed Jul 18 12:36:23 EDT 2012


OK, that makes my head spin just looking at it!
Pete
lcSQL Software <http://www.lcsql.com>



On Tue, Jul 17, 2012 at 6:52 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 7/17/12 7:54 PM, Peter Haworth wrote:
>
>> Thanks everyone for the alternative ways of doing this.  I think Mike's
>> comes closest to what I was hoping for.  It was pretty much an academic
>> question. I still think it would be nice to be able to do it though.
>>
>
> Not exactly what you're looking for, but I never miss an opportunity to
> post this lovely thing:
>
> return (item offset(char 1 of (<condition>),"tf") of quote & result1 &","&
> result2 & quote)
>
> derived from a handler by Tony Root, HC team.



More information about the use-livecode mailing list