My 2 cents worth on clearing out the stack:
: ..S .S SP@ DEPTH 1- CELL * + SP! ." SP! " ;
best wishes --- Allen Anway
----- Original Message -----
From: "Gene LeFave" <gene_at_tekdata.com>
To: <sftalk_at_forth.com>
Sent: Monday, January 12, 2009 11:48 AM
Subject: [sftalk] Re: clearing the stack
>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
> ----------------------------------------------------------------------
>
>
>
----------------------------------------------------------------------
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 - 10:09:50 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.