[retroforth] Re: reuse word name?

  • From: Charles Childers <charles.childers@xxxxxxxxx>
  • To: retroforth@xxxxxxxxxxxxx
  • Date: Fri, 26 Nov 2004 05:08:45 -0500

I'm not done yet, but this word should help a little:

| >name will compile the address that the word's name
| begins into the current word. It *only* works on the
| current word.
|
 macro
: >name last @ @ 9 + m: literal ;

| Examples of use
|
 forth
: whatever >name 8 type ;
: foo >name 3 type ;

--
Charles

Other related posts: