Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #803

Re: OS_GBPB 9 - Read filenames from directory

From "Ste (news)" <steve@revi11.plus.com>
Subject Re: OS_GBPB 9 - Read filenames from directory
Newsgroups comp.sys.acorn.programmer
Date 2011-09-29 12:39 +0100
Message-ID <521a4c2671steve@revi11.plus.com> (permalink)
References <5218550b41News03@avisoft.f9.co.uk> <5219d7839bsteve@revi11.plus.com> <mpro.lsa5dg001nvg803vg.vinceh@softrock.co.uk>
Organization None

Show all headers | View raw


In article <mpro.lsa5dg001nvg803vg.vinceh@softrock.co.uk>,
   Vince M Hudd <vinceh@softrock.co.uk> wrote:
> I take it you mean the whole thing - generate the list *and* sort it?
> Because I don't think it's a whole heap (hohoho) of effort to carry out the
> latter task. ;)

Yes, a "Return me an array of all of the items in this directory, sorted
into alphabetical order". Even better would be an option to do the recursion
for you, too.

On the flip side, this does get into the realms of "that's what libraries
are for" and I can see with blocking I/O why the API tries to split the job
into multiple calls.

Steve

-- 
Steve Revill @ Home
Note: All opinions expressed herein are my own.

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OS_GBPB 9 - Read filenames from directory Martin <News03@avisoft.f9.co.uk> - 2011-09-25 17:04 +0100
  Re: OS_GBPB 9 - Read filenames from directory Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-25 20:18 +0200
  Re: OS_GBPB 9 - Read filenames from directory Terminal Crazy <Terminal_Crazy@sand-hill.freeserve.co.uk> - 2011-09-25 20:14 +0100
    Re: OS_GBPB 9 - Read filenames from directory jeff <jeffrey.a.doggett@gmail.com> - 2011-09-26 00:35 -0700
  Re: OS_GBPB 9 - Read filenames from directory "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 15:25 +0100
    Re: OS_GBPB 9 - Read filenames from directory Vince M Hudd <vinceh@softrock.co.uk> - 2011-09-29 11:34 +0100
      Re: OS_GBPB 9 - Read filenames from directory "Ste (news)" <steve@revi11.plus.com> - 2011-09-29 12:39 +0100
        Re: OS_GBPB 9 - Read filenames from directory jgharston <jgh@arcade.demon.co.uk> - 2011-10-09 16:23 -0700

csiph-web