Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/GAP/tst/testspecial/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 658 B image not shown  

Quelle  stack-depth-func2.g.out   Sprache: unbekannt

 
gap> f := function() local x; x := f(); return x; end;
function(  ) ... end
gap> y := f();
Error, recursion depth trap (5000) in
  f(  ) at *stdin*:2 called from 
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
...  at *stdin*:3
you may 'return;'
brk> return; # try once more
Error, recursion depth trap (10000) in
  f(  ) at *stdin*:2 called from 
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
f(  ) at *stdin*:2 called from
...  at *stdin*:3
you may 'return;'
brk> QUIT;

[ Dauer der Verarbeitung: 0.24 Sekunden  (vorverarbeitet)  ]