I had a problem about recursion problem with my POL99, so when i start it, it just go from 0 to 98 and i don't know why it stops running. Does someone know how can I fix that ? Is there any limit for recursion?
Thanks for you attetion.
Eu tive um problema no meu POL99 sobre recursão, meu pol trava no momento que chega ao 99.
Alguem poderia me dizer se tem algum limite pra recursão ou como eu poderia arrumar isso ?
Grato.
Code: Select all
program quicksort(character)
repercusiontest(0) ;
endprogram
function repercusiontest((ByRef accumulator)
sleepms(1);
print("-> "+acumulador);
repercusiontest((accumulator+ 1);
return 1;
endfunction