Bernd Paysan <bernd.pay...@gmx.de> writes:

> Am Freitag, 19. Mai 2017, 22:01:16 CEST schrieb James Gere:
>>      The above, rather inefficient code, works on android gforth.
>
> Less clumsy, fully efficient by using TRAVERSE-WORDLISTs end flag:
>
> : nwords ( n --- )
>   cr 0 [: .word >r 1- r> over 0> ;] context @ traverse-wordlist 2drop ;
>
> This stuff works on all recent Gforths, not just the Anroid one.


when I try that implementation of nwords, I get

error: Stack underflow


Reply via email to