Re: Need help to write routine - Please

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete wrote:

> On Fri, 29 Aug 2003 15:56:45 +0200, Juergen Luethje <j.lue at gmx.de>
> wrote:
>
>> Interesting, without recursion!
> LOL, different mindset. I actually had to trace your program to figure
> out how it worked!

smile

> FWIW, I'd have coded that approach with:
>
> procedure change (integer Level)
> 		 change(Level+1)
> change(1)
>
> (I tested this, no real difference I guess, replaces/removes:
> --integer Level
> --		 Level += 1
> --		 Level -= 1
> --Level = 1)

Yes, thanks. Some hours after sending the message, I also realized it.
smile

>
> Pete

Regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |    |\      _,,,---,,_
 \ /  against HTML in       |    /,`.-'`'    -.  ;-;;,_
  X   e-mail and news,      |   |,4-  ) )-,_..;\ (  `'-'
 / \  and unneeded MIME     |  '---''(_/--'  `-'\_)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu