[retroforth] RetroForth 8.0 later>

  • From: "Helmar Wodtke" <helmwo@xxxxxx>
  • To: retroforth@xxxxxxxxxxxxx
  • Date: Sun, 16 Jan 2005 16:04:36 +0100

Hi Charles!
I currently play with a word called "later>". The definition is

: later> r> r> swap >r >r ;

Its similar in fashion to "does>", but it does not change a definition. It's 
purpose is to execute some code after the caller of a word has finished. This 
is terribly useful if you use vectorized execution (eg. doers):

: numout make emit . ;and later> undo emit cr ;

: test numout ." This is a output." ;

test
." This is a second sample."

Bis dann,
Helmar


-- Binary/unsupported file stripped by Ecartis --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature



Other related posts: