What's a function

Dom mcdomi at free.fr
Sat Dec 18 06:22:07 EST 2004


J. Landman Gay <jacque at hyperactivesw.com> wrote:

> I said elsewhere that I'd post my article about the differences between
> a function and a command handler.

You say in this page:

<< If we want to know the number of cards, we pass "cards" to the
function this way:
the number of cards
 which can also be written:
number(cards)
 Revolution then goes through the stack and adds all the cards to get a
total, which is sent back to your script.>>

Does really Revolution go to the stack and *count* the cards?
If a stack is in memory, I thought that the number of cards is written
down somewhere in the stack... really, not?
And so, for the number of controls??

-- 



More information about the use-livecode mailing list