From: Matthias T. <mt...@we...> - 2010-10-06 18:38:24
|
Hi > Hi. > > how can I see what word a defered word will execute? > > gforth: > > defer test ok > : xxx 11 22 33 . . . ; ok > xxx 33 22 11 ok > .s <0> ok > ' xxx is test ok > test 33 22 11 ok > .s <0> ok > see test > > : xxx > 11 22 33 . . . ; > latestxt > Defer test > IS test > ok > > > amforth? it should work like test defer@ xt>nfa icount itype to get the name of the word beeing executed by test. you need to upload the code for xt>nfa however. Implementing a smart see is left as an exercise to the reader ;=) HTH Matthias |