Marcel Hendrix wrote:
Ed Falat <[EMAIL PROTECTED]> writes Re: [gforth] Stack anomoly?
All the systems were using a Linux 2.6.15 or 2.6.16 kernel. I have not tried
it on a 2.4 kernel.
I tried to isolate the problem to ".s" but that seems to behave. The gforth was
the Debian package
but a recompile of the 0,6,2 get the same results.
Any ideas?
What exactly is the problem you observe?
Thank you Marcel, I did not pay attention to the quantity of numbers on
the stack,
Gforth limits the output of .S to the (correct) count of stack items,
followed by the first 9 numbers from the top. This is probably done to
prevent a display problem when the programmer succeeds in nearly filling
the stack by accident (millions of numbers :-)
-marcel
( iForth shows 64 items max, after that only shows the count and suppresses the
dump completely )
I was surprised at the low threshold for MAXDEPTH_.S (Thanks Anton) .
Raising it will solve my immediate need. My professor is allowing me to
use Forth in a project and my Forth skills are dulled from years of not
being used. I will make MAXDEPTH-.S part of the code in my paper so
others will not repeat my mistake.
Ed Falat
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]