The long answer on when to use a function vs command

Geoff Canyon gcanyon at inspiredlogic.com
Fri Mar 17 10:57:37 EST 2006


On Mar 14, 2006, at 8:31 PM, Thomas McGrath III wrote:

> Can someone give the long answer on when is it best to use a  
> function versus a command? I have a lot to write of both commands  
> and functions and have been overly confusing myself. Please give at  
> least two examples each with parameters and how to call/use them.

I wrote an article about this. It's at:

http://inspiredlogic.com/articles/functions.html

It gives several examples.

I can summarize it as: Functions Good, Handlers Bad (much of the  
time). ;-)

regards,

Geoff



More information about the Use-livecode mailing list