| >body ['] branch xt>threaded over ! |
>body ['] branch xt>threaded over ! |
| cell+ >r >body r> ! ; |
cell+ >r >body r> ! ; |
| |
|
| |
: print-names ( endaddr startaddr -- ) |
| |
space 1 -rot |
| |
u+do ( pos ) |
| |
i @ name>string nip 1+ { len } |
| |
len + ( newpos ) |
| |
dup cols 4 - >= if |
| |
cr space drop len 1+ |
| |
endif |
| |
i @ .name |
| |
cell +loop |
| |
drop ; |
| |
|
| forth definitions |
forth definitions |
| ans-report-words |
ans-report-words |
| |
|
| dup >r name>int >body dup @ swap cell+ 2@ dup |
dup >r name>int >body dup @ swap cell+ 2@ dup |
| if |
if |
| ." from " r@ .name ." :" cr |
." from " r@ .name ." :" cr |
| bounds |
bounds print-names cr |
| u+do |
|
| i @ .name |
|
| cell |
|
| +loop |
|
| cr |
|
| else |
else |
| 2drop |
2drop |
| endif |
endif |