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

Richard Owlett wrote:
>
> I believe the word you want is EMPTY .
> See Section 4.1.1 of the user manual.
>
> I also recommend getting a copy of _Forth Application Techniques_ by the
> FORTH Inc. staff [ available direct from Forth Inc. and I believe now
> also through amazon.com ].
>
> Schmitt Louis Jean-Pierre wrote:
> >
> > Can you say my waht is the best way to create the word FORGET
> >
> > Tank you for help
> >
> > Louis Jean-Pierre
> >
> ----------------------------------------------------------------------
> 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.
FORGET is a pre-ANS word that lets you prune the dictionary back to just
before some chosen word, rather than all the way. MARKER replaced it,
providing more flexibility and a little more complexity (they go
together.) A bit of test code could start
: TASK ;
: Useful-word ( you hope) .... ;
...,
and when it doesn't work, FORGET TASK removes it, leaving the supporting
words you loaded before it to allow it to run. I need it on 8-bitters
without disks, but not on my 166 MHz Pentium. Compilation is fast enough
there that I don't mind starting over de novo.
Jerry
-- Engineering is the art of making what you want from things you can get. ----------------------------------------------------------------------- ---------------------------------------------------------------------- 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 Thu Dec 06 2001 - 13:53:11 PST
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:20 PST