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


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

Re: Testing for the presence of a file

Date 2018-10-23 07:43 +0100
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Testing for the presence of a file
Message-ID <b9a55d4b57.Matthew@sinenomine.freeserve.co.uk> (permalink)
References <70cfbe4357.graham@graham.durain.uk> <c2cd1e40-452d-483e-b8a4-d40c3b731915@googlegroups.com>

Show all headers | View raw


In message <c2cd1e40-452d-483e-b8a4-d40c3b731915@googlegroups.com>
 on 22 Oct 2018 jgh@mdfs.net wrote:

> Why OS_File 17 or 23? What's wrong with good old OS_File 5?
> 
> SYS "OS_File",5,pathname$ TO objtype%

Personally, I avoid OS_File 5 because it uses File$Path -- and I've always
wanted to know whether a file was really where I was looking for it, not
somewhere else.

But perhaps File$Path only comes into effect if you do not supply a full path
in R1, in which case it isn't an issue.

-- 
Matthew Phillips
Durham

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


Thread

Testing for the presence of a file Graham Pickles <graham@durain.uk> - 2018-10-08 12:35 +0100
  Re: Testing for the presence of a file Alan Adams <alan@adamshome.org.uk> - 2018-10-08 12:50 +0100
    Re: Testing for the presence of a file Bob Latham <bob@sick-of-spam.invalid> - 2018-10-08 13:17 +0100
      Re: Testing for the presence of a file Alan Adams <alan@adamshome.org.uk> - 2018-10-08 14:24 +0100
      Re: Testing for the presence of a file Bob Latham <bob@sick-of-spam.invalid> - 2018-10-08 14:22 +0100
  Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:42 +0100
    Re: Testing for the presence of a file Graham Pickles <graham@durain.uk> - 2018-10-09 09:33 +0100
      Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-09 23:59 +0100
  Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:50 +0100
    Re: Testing for the presence of a file "John Williams (News)" <UCEbin@tiscali.co.uk> - 2018-10-08 14:53 +0100
    Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 19:57 -0700
      Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 20:00 -0700
  Re: Testing for the presence of a file jgh@mdfs.net - 2018-10-21 19:55 -0700
    Re: Testing for the presence of a file Matthew Phillips <spam2011m@yahoo.co.uk> - 2018-10-23 07:43 +0100

csiph-web