MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FileNames subdirectory count discrepancy


On 8/16/06 at 3:36 AM, chris at chiasson.name (Chris Chiasson) wrote:

>from the help: FileNames[forms, dirs, n] includes files that are in
>subdirectories up to n levels down.

>why does a file that is only one level down require n=2?

<example snipped>

I assume n = 1 would refer to the current level. And the choosing n = 1 to be the current level seems consistent with Mathematica's indexing of arrays that use 1 as a base rather than 0.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: perplexed by blank sequence in pattern replacement
  • Next by Date: Complexity of quantifier elimination
  • Previous by thread: FileNames subdirectory count discrepancy
  • Next by thread: Re: FileNames subdirectory count discrepancy