If you're interactive, you can just ABORT or type some garbage word to clear the stack.
alskjflasjfdlkfjas
> -----Original Message-----
> From: sftalk-bounce_at_forth.com
> [mailto:sftalk-bounce_at_forth.com] On Behalf Of Joel Reymont
> Sent: Monday, January 12, 2009 10:14 AM
> To: sftalk_at_forth.com
> Subject: [sftalk] Re: clearing the stack
>
>
> On Jan 12, 2009, at 6:09 PM, Allen Anway wrote:
>
> > My 2 cents worth on clearing out the stack:
> >
> > : ..S .S SP@ DEPTH 1- CELL * + SP! ." SP! " ;
>
>
> Thank you Allen and Gene!
>
> I find Gene's version easier to grok.
>
> Which one is more efficient, though?
>
> I know it hardly matters when clearing a few items
> from the stack interactively but I'm still curious.
>
> Thanks, Joel
>
> ---
> http://wagerlabs.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
> ----------------------------------------------------------------------
>
>
----------------------------------------------------------------------
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:16:58 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.