Calling a method [like a function pointer]

Dar Scott dsc at swcp.com
Sun Jun 13 15:35:02 EDT 2004


On Jun 13, 2004, at 11:00 AM, K wrote:

> I just realized something would a next repeat without a repeat work 
> several thousand times then cause RR to do all kinds of anomalies?

Do you have a simple example?

I'm not sure how this can happen except in in the returns in a deep 
recursion like this (untested):

on manyNext n
    if n>0 then
        repeat 1
            manyNext n-1
        end repeat
    end if
end manyNext

Dar Scott



More information about the use-livecode mailing list