1. walk_dir return code

Hi all, especially Rob

Maybe I missed it, but I could not find a description of the meaning of the
return code in walk_dir().
Regards.

new topic     » topic index » view message » categorize

2. Re: walk_dir return code

Ricardo Forno wrote:
> Hi all, especially Rob
> 
> Maybe I missed it, but I could not find a description of the meaning of the
> return code in walk_dir().

Yeah, it's missing.
I'll fix the docs.

 From the source code in file.e, it appears that
walk_dir() returns 0 if it runs successfully to completion.
It returns -1 if it can't open the initial path you give it 
(as argument 1). It can also return any other Euphoria object,
that the function you pass to it returns, when your function
decides to stop prematurely (indicated when your function
does not return 0).

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu