On 4-Mar-08, at 8:16 AM, Victor M. wrote:

> Factor crash when I add a breakpoint inside a quot inside another  
> quot. Steps:
>
> 3 3 [ over [ over 2array . ] each drop ] each drop
> ctrl+w
> second button over 2array and select breakpoint

You cannot set a breakpoint on a core word which may itself be  
executed as part of handling the breakpoint. However, you can do this:

> 3 3 [ over [ over break 2array . ] each drop ] each drop
ctrl+w

> And another question. Is there an easy way to do a double loop?  
> Something like:
>
> for i = 0 to 2 do
>   for j = 0 to 2 do
>     print i, j
>   next
> next

There are many ways, one way is to do what you did above.

Slava

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to