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


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

Re: Traversing a directory in BASIC...

Subject Re: Traversing a directory in BASIC...
Newsgroups comp.sys.acorn.programmer
From Richard Porter <dontusethis@address.uk.invalid>
Date 2019-01-27 23:33 +0000
Message-ID <3c4b2a7d57.news@user.minijem.plus.com> (permalink)
References <5551f8d2-bbd0-4d15-aa64-bc799be24414@googlegroups.com>

Show all headers | View raw


The date being 21 Jan 2019, usenet@garethlock.com decided to write:

> I'm trying to write a routine that returns a list of items, both files and
> directories, in a given directory. Think I might have hit on something
> using OS_GBPB, but one has to supply the number of items to read. Been
> trying OS_FSControl 28 to return a count before calling OS_GBPB, can get
> this to count files, but not directories...

> Has anyone come across a better way of doing this??

If you have !SiteMatch you can copy the way it recursively scans a 
directory. That's the one bit I haven't tampered with since I took it 
over. much.

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


Thread

Traversing a directory in BASIC... usenet@garethlock.com - 2019-01-21 13:48 -0800
  Re: Traversing a directory in BASIC... Gerald Holdsworth <nospam@hollypops.co.uk> - 2019-01-21 22:18 +0000
  Re: Traversing a directory in BASIC... Steve Fryatt <news@stevefryatt.org.uk> - 2019-01-21 22:44 +0000
    Re: Traversing a directory in BASIC... usenet@garethlock.com - 2019-01-21 15:02 -0800
      Re: Traversing a directory in BASIC... Steve Fryatt <news@stevefryatt.org.uk> - 2019-01-21 23:59 +0000
        Re: Traversing a directory in BASIC... usenet@garethlock.com - 2019-01-21 18:12 -0800
          Re: Traversing a directory in BASIC... Matthew Phillips <spam2011m@yahoo.co.uk> - 2019-01-22 08:14 +0000
  Re: Traversing a directory in BASIC... Martin <News03@avisoft.f9.co.uk> - 2019-01-21 23:04 +0000
    Re: Traversing a directory in BASIC... usenet@garethlock.com - 2019-01-21 15:53 -0800
    Re: Traversing a directory in BASIC... Alan Adams <alan@adamshome.org.uk> - 2019-01-22 12:26 +0000
      Re: Traversing a directory in BASIC... Martin <News03@avisoft.f9.co.uk> - 2019-01-22 16:30 +0000
        Re: Traversing a directory in BASIC... jgh@mdfs.net - 2019-01-23 05:26 -0800
          Re: Traversing a directory in BASIC... Alan Adams <alan@adamshome.org.uk> - 2019-01-23 15:01 +0000
          Re: Traversing a directory in BASIC... David Higton <dave@davehigton.me.uk> - 2019-01-24 14:35 +0000
  Re: Traversing a directory in BASIC... Richard Porter <dontusethis@address.uk.invalid> - 2019-01-27 23:33 +0000

csiph-web