Calling a method [like a function pointer]

K nnoydb at excite.com
Sun Jun 13 23:02:18 EDT 2004



I was sending in time to one of my theads that I build/tested using nothing but a repeat I forgot to replace one of the error repeat next to error return.  After I removed the stray repet next the code started executing without error.

Oddly the apply missed this and the erros where reported everywhere else except the module where the dangling repeat next was.

Kevin



-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



 --- On Sun 06/13, Dar Scott < dsc at swcp.com > wrote:
From: Dar Scott [mailto: dsc at swcp.com]
To: use-revolution at lists.runrev.com
Date: Sun, 13 Jun 2004 13:35:02 -0600
Subject: Re: Calling a method [like a function pointer]

<br>On Jun 13, 2004, at 11:00 AM, K wrote:<br><br>> I just realized something would a next repeat without a repeat work <br>> several thousand times then cause RR to do all kinds of anomalies?<br><br>Do you have a simple example?<br><br>I'm not sure how this can happen except in in the returns in a deep <br>recursion like this (untested):<br><br>on manyNext n<br>    if n>0 then<br>        repeat 1<br>            manyNext n-1<br>        end repeat<br>    end if<br>end manyNext<br><br>Dar Scott<br><br>_______________________________________________<br>use-revolution mailing list<br>use-revolution at lists.runrev.com<br>http://lists.runrev.com/mailman/listinfo/use-revolution<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the use-livecode mailing list