arrary item parsing within a function message pass

Dar Scott dsc at
Mon May 17 17:21:57 EDT 2004

On Monday, May 17, 2004, at 03:08 PM, Zac Elston wrote:

> value(Myfunction) returns the correct item but the script dies on that 
> item.

Maybe you need this:


If there is a chance the function might not exist, then you might need 
to wrap it in a 'try' structure.

Maybe, like this:

function applyNamedFun0 funName
      get value(funName&"()")
    catch e
      get empty
    end try
    return it
end applyNamedFun0

I may have missed the point; I don't see what this has to do with 

Dar Scott

More information about the Use-livecode mailing list