Re: Need help to write routine - Please
- Posted by Juergen Luethje <j.lue at gmx.de> Aug 31, 2003
- 398 views
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! > 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. > > Pete Regards, Juergen -- /"\ ASCII ribbon campain | |\ _,,,---,,_ \ / against HTML in | /,`.-'`' -. ;-;;,_ X e-mail and news, | |,4- ) )-,_..;\ ( `'-' / \ and unneeded MIME | '---''(_/--' `-'\_)