Einzelnen Beitrag anzeigen

xaromz

Registriert seit: 18. Mär 2005
1.682 Beiträge
 
Delphi 2006 Enterprise
 
#9

Re: Thats Insane - wrong memory setting by recursion???

  Alt 20. Apr 2006, 21:11
Hello,
Zitat von sk.Silvia:
yes your code is great xaromz, thats what i wanted
Thanks .
Zitat von sk.Silvia:
but i initialized the value of result, thnaks the init boolean (by the first run, the value of result was set to current), so it wasnt undefined, iam not getting it
Your first piece of code was
 if value<result then Here Result wasn't initialized. Your initializeation followed after that comparison.

Greets
xaromz
  Mit Zitat antworten Zitat