Re: clearing the stack

From: Gene LeFave <gene_at_tekdata.com>
Date: Mon, 12 Jan 2009 11:48:46 -0600

I have to admit, I don't know a word that does this. There are only a very
few situations where this might be necessary. But when I need it I just throw
in:

      BEGIN DEPTH WHILE DROP REPEAT

You could define this as CLEARSTACK.

If you're at the console just enter qwerty <CR>

Gene

> I feel silly asking this but... how do you clear the stack?
>
> gforth has clearstack.
>
> Thanks, Joel
>
> ---
> http://twitter.com/wagerlabs
>
>
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and
> bug reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>

--
Gene LeFave,  ViP, Tek Data Systems
gene_at_tekdata.com
1(847)367-8800
"I thought of that while riding my bike."
   Albert Einstein, on the theory of relativity.
----------------------------------------------------------------------
sftalk_at_forth.com      The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users.  For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Jan 12 2009 - 09:49:39 PST

Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 08-Feb-2012. Archive updated nightly.