Developer Annoyance #1

J. Landman Gay jacque at hyperactivesw.com
Fri Mar 17 01:32:40 EST 2006


Andre Garzia wrote:
> Err...
> 
> can't you make it a Handler use send and check for the result???
> 
> send "calc VarA, VarB" to btn "source"
> put the result into localResult
> 
> of course calc is not a function but a handler with a return statement.
> 
> Cheers
> andre
> 
> 
> 
> On Mar 17, 2006, at 2:55 AM, Jim Ault wrote:
> 
>>> I'm not sure that this is the right direction for any language to be
>>> headed. Please explain why we can't have the following syntax:
>>>
>>>   put calc(varA,varB) of btn "source" into localResult
>>>

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.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the Use-livecode mailing list