Reference Function Name Via Variable?
    Kay C Lan 
    lan.kc.macmail at gmail.com
       
    Thu Jan 15 20:31:20 EST 2009
    
    
  
On Fri, Jan 16, 2009 at 9:21 AM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
>
>     answer merge("[[value(tNewFunction)]]")
>
> What am I doing???
Merge isn't necessary!
answer value(tNewFunction)
will do just fine. Sorry, spending far too much time with 'merge' at the
moment.
ON mouseUp
    put "hello" into pData1
    put "world" into pData2
    put "shout" into test
    put test & "(pData1,pData2)" into tNewFunction
    answer value(tNewFunction)
END mouseUp
FUNCTION shout pData1,pData2
    return pData1 && pData2
END shout
HTH
    
    
More information about the use-livecode
mailing list