Hi,

Suppose we want to duplicate all output.
Can anyone please show a simple working example?
The following does not work.

: myemit dup emit emit ;

char a myemit
aa ok

' myemit is emit

 Amforth 5.0 r1339 freezes...

Thanks, Enoch.

P/S 

I guess there's an infinite recursion... but how can I call XT_TX_POLL
from myemit ??? Read it via "up@ 14 + @" ???



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to