Just to clarify what is going on:
On 13-Jan-07, at 1:14 AM, Chris Double wrote:
> An easy way to show the problem is:
You pasted the definitions in the listener.
>
> ! this works
> 1 T{ circle f "abc" 0 } nth .
Here, you're executing the interpreted definition of 'nth' (you just
redefined nth, without recompiling; its an interpreted word now).
>
> ! This gives an error about nth not being a method for circle
> 1 T{ circle f "abc" 0 } nth-unsafe .
The 'nth-unsafe' word is still compiled and it will refer to the old,
compiled definition of 'nth' until a 'recompile'.
> ! This works if you step-in through the code, but not if you
> 'continue'
> 1 T{ circle f "abc" 0 } [ nth-unsafe ] walk
The single-stepper always the interpreted definitions of words, which
are the most up to date.
Slava
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk