Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5554
| From | Graham Pickles <graham@durain.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Testing for the presence of a file |
| Date | 2018-10-08 16:02 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <c5c6d14357.graham@graham.durain.uk> (permalink) |
> I wrote > I'm having a senior moment! What is the simplest method of determining > in a Basic (RiscOs 4.02) program whether a named file exists in a > particular directory? > > e.g. A file called test might/might not exist in my <Data$Dir> > directory. If it exists then I wish to remove it but don't want to > create an error if it doesn't exist! > > Regards to all, Many thanks to everyone for all the suggestions and the speedy responses. It should be easy for me to do now ! Regards, -- Graham Pickles Pain is inevitable. Suffering is optional. (M. Kathleen Casey)
Back to comp.sys.acorn.programmer | Previous | Next | Find similar | Unroll thread
Testing for the presence of a file Graham Pickles <graham@durain.uk> - 2018-10-08 16:02 +0100
csiph-web