I am just learning FORTH and I have a qustion. I know that in Forth, the
name of a definition indicates what it does, the definition body of the
definition describes how it works and the stack comment indicates the
required interface components required on the data stack in order for the
definition to be run.
So given the following definition with a name and a body but no stack
comment, how would I replace
the question marks with the correct interface components. I do not quite
understand what 'TYPE+' does.
: TYPE+ ( ? -- ? ) 0 DO DUP C@ EMIT 1+ LOOP ;
Thanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp