Stack traces: Difference between revisions

Content added Content deleted
Line 1,180: Line 1,180:
Otherwise no stack trace is available nor printed.
Otherwise no stack trace is available nor printed.


<lang Oforth>func: f1 { Exception throw("An exception") }
<lang Oforth>: f1 Exception throw("An exception") ;
Integer method: f2 { self f1 }
Integer method: f2 self f1 ;
func: f3(n) { n f2 }
: f3 f2 ;
func: f4(n) { n f3 }
: f4 f3 ;


f4(10)</lang>
10 f4</lang>


{{out}}
{{out}}