Re: Missing in misc.e
- Posted by don cole <doncole at p?c?ell.net> Jul 21, 2007
- 682 views
Pete Lomax wrote: > > don cole wrote: > > > global function sign(object x) > > x[i]=sign(x[i])----------error------------ > > > end function > > Hello CChris, > > > > You can't do this, can you? > > Call a function the middle of that function? > C'mon Don. > You know this. > It is called recursion. > In get.e, Get() calls Get(). > In file.e, walk_dir() calls walk_dir(). > In misc.e, pretty_print(), rPrint() calls rPrint(). > > Recursion is a very common and very powerful technique. > > Pete Hello Jason, CChris and Pete, O.K. O.K. I have to go back and read Wiki. Don Cole