Developer Annoyance #1

Dick Kriesel dick.kriesel at mail.com
Fri Mar 17 03:19:00 EST 2006


On 3/16/06 10:32 PM, "J. Landman Gay" <jacque at hyperactivesw.com> wrote:

> Or there's a really ugly way too, but it's short:
> 
>    insert script of btn "source" into back
>    put calc(varA,varB) into localResult
>    remove script of btn "source" from back
> 
> I know, I know...but it works.

One person's ugly is another person's beauty, it seems. The technique very
simply solved a current problem for me.

On 3/16/06 11:39 PM, "Chipp Walters" <chipp at chipp.com> wrote:

> I really like 'call' as it doesn't create a context for the
> handler/function.

My problem was that "call" and "value()" change the target, breaking some of
my handlers.

Thanks to Jacque and Jim.

-- Dick





More information about the use-livecode mailing list