programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: add a string to history

From: Rick VanNorman <rick_at_neverslow.com>
Date: Fri, 25 May 2007 22:29:10 -0500

Try this:

ACCEPTOR +ORDER

\ add a line to the front of the history buffer

S" HERE 100 DUMP" PUSHLINE

\ clear the history buffer

LBUF |LBUF| ERASE

ACCEPTOR -ORDER

-- rick

On 5/25/07, Bee <200309_at_scshop.com> wrote:
> Is it possible to add a string to the command line history?
> And also clear history?
>
> --
> Bill Muench
> Santa Cruz, California
>
> ----------------------------------------------------------------------
> 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 Fri May 25 2007 - 20:29:33 PDT

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:42 PST