embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

(X-STRAIGHT)

From: Bulgrien, Dennis <Dennis.Bulgrien_at_TripointGlobal.com>
Date: Mon, 24 Jun 2002 08:43:48 -0500

I tried to extend OPERATOR interface to include STRAIGHT . These two
attempts appear to work but both seem to cause the interactive shell to lock
up occasionally. What's missing?

: (X-STRAIGHT) ( c-addr u -- )
   OVER + SWAP DO (X-KEY) I C! LOOP ;

: (X-STRAIGHT) ( c-addr u -- )
  -RIE
    OVER + SWAP DO 252 (X-EMIT) X-IN I C! LOOP
  +RIE ;
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" 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/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
Received on Mon Jun 24 2002 - 06:43:01 PDT

This archive was generated by hypermail 2.2.0 : Fri Dec 05 2008 - 03:04:21 PST