MathGroup Archive 2006

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

Search the Archive

Re: FileNames subdirectory count discrepancy

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68736] Re: FileNames subdirectory count discrepancy
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Thu, 17 Aug 2006 04:18:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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