On Sun, May 2, 2010 at 7:05 PM, Dan Bron <[email protected]> wrote:
> Raul Miller wrote:
>> 3 :'K+y'"0 i.1e6
>> Here, the explicit verb would be run a million times.
>> How would this be managed, if you set a breakpoint?
>
> Can you sketch how you think this situation would differ from debugging the
> C code:
>
> for(i=0;i<=1000000;i++)
> {
> printf("%d",K+i); // or a[i]=K+i or whatever
> }
>
> by setting a breakpoint in the body of the loop?
It would closer to using the code:
F1() {
for (i=0; i<=1000000;i++) {
F2();
}
}
F2() {
printf"%d", K+i);
}
and setting a breakpoint in F1 and being disappointed that you
do not get a breakpoint in F2.
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm