Stack traces: Difference between revisions

Content deleted Content added
Hansoft (talk | contribs)
Added Forth
Hansoft (talk | contribs)
Line 247:
 
=={{header|Forth}}==
In Forth, calling sequence information is kept on the Return Stack.Some Forth compilers have the word "R.S" that dumps the contents of the Return Stack - just like ".S:", which dumps the contents of the Data Stack. Note this may also include stack frames, local variables and temporary values. Forth has no way of knowing which is which, because that is usually left to the programmer.
 
{{works with|4tH|3.60.0}}
Line 264:
THEN ." (TORS) " DROP >R ;
[THEN]</lang>
 
=={{header|J}}==