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


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

Re: Basic - establishing a directory

Subject Re: Basic - establishing a directory
Newsgroups comp.sys.acorn.programmer
From Alan Adams <alan@adamshome.org.uk>
Date 2020-09-24 10:19 +0100
Message-ID <eabcf0b458.Alan.Adams@ArmX6.adamshome.org.uk> (permalink)
References <9a3486b458.graham@graham.durain.uk> <532e8fb458.Alan.Adams@ArmX6.adamshome.org.uk> <58b4970e7fbasura@invalid.addr.uk> <7627ecb458.graham@graham.durain.uk>
Organization Orpheus Internet Services

Show all headers | View raw


In message <7627ecb458.graham@graham.durain.uk>
          Graham Pickles <graham@durain.uk> wrote:

> In message <58b4970e7fbasura@invalid.addr.uk>
>           Richard Ashbery <basura@invalid.addr.uk> wrote:

<snip>

>>
> Yes, I think it is probably a bit wiser not to ignore the fact that the
> directory may already exist. My excuse is that I'm trying out an idea
> and don't expect anyone else to use my program at present. If my idea is
> successful then I will revamp to make it as a proper fully thought out
> program unlikely to mislead others or myself in the future!

Indeed, in some cases it might be necessary to distinguish between three 
possibilities:

No directory exists
Empty directory exists
Directory exists and has contents. For this one I *think* it's possible to 
search for a file called * in the directory.

> Thanks for the info. Have not used SYS "OS_File",17 before.

> Regards,



-- 
Alan Adams, from Northamptonshire
alan@adamshome.org.uk
http://www.nckc.org.uk/

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


Thread

Basic - establishing a directory Graham Pickles <graham@durain.uk> - 2020-09-23 14:56 +0100
  Re: Basic - establishing a directory Alan Adams <alan@adamshome.org.uk> - 2020-09-23 16:34 +0100
    Re: Basic - establishing a directory Graham Pickles <graham@durain.uk> - 2020-09-23 16:56 +0100
    Re: Basic - establishing a directory Richard Ashbery <basura@invalid.addr.uk> - 2020-09-23 18:00 +0100
      Re: Basic - establishing a directory Graham Pickles <graham@durain.uk> - 2020-09-24 09:29 +0100
        Re: Basic - establishing a directory Alan Adams <alan@adamshome.org.uk> - 2020-09-24 10:19 +0100
          Re: Basic - establishing a directory Theo <theom+news@chiark.greenend.org.uk> - 2020-09-24 11:30 +0100
            Re: Basic - establishing a directory svrsig <chris@svrsig.org> - 2020-10-20 09:54 -0700
  Re: Basic - establishing a directory Richard Ashbery <basura@invalid.addr.uk> - 2020-09-23 17:42 +0100

csiph-web