![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Gene,
There is, unfortunately, no simple way to extend the
class compiler to include defining words. There is so
much context and state to be considered when creating
a class reference that I am not sure that a concept as
simple and elegant as DOES> can work. It may be possible,
but is beyond my modest abilities.
Rick
*********** REPLY SEPARATOR ***********
On 12/17/2001 at 10:38 AM Gene LeFave wrote:
>While trying to convert some code from another object oriented forth
>system to swoop I've run into an apparent problem, with dfining
>words.
>
>The following code illustrates the problems. I can't find any way to
>get it to compile, although I think that it ought to work.
>
>I've modified this endlessly, but I'm posting the original here as
>this is a pretty clean example of the problem.
>
>Gene
>
>\ test defining words in class
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Search the archives! Visit http://www.forth.com/search for details.
Received on Mon Dec 17 2001 - 08:34:49 PST
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:20 PST