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


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

Re: case sensitive file test

From Bob Latham <bob@sick-of-spam.invalid>
Subject Re: case sensitive file test
Newsgroups comp.sys.acorn.programmer
Message-ID <5876c7ef57bob@sick-of-spam.invalid> (permalink)
References <5876ae0c64bob@sick-of-spam.invalid> <5876b6c3c3bob@sick-of-spam.invalid> <c775bd7658.Kevin@Kevsoft>
Organization None
Date 2020-05-26 17:29 +0100

Show all headers | View raw


In article <c775bd7658.Kevin@Kevsoft>,
   Kevin Wells <kev@kevsoft.co.uk> wrote:
> In message <5876b6c3c3bob@sick-of-spam.invalid>
>           Bob Latham <bob@sick-of-spam.invalid> wrote:

> >Okay, found the problem (eventually) with OS_GBPB 9  buffer size!
> >
> >But if anyone has a good way to test for a lowercase file name I'd
> >love to hear it.

> If it is just the first letter that has to be lower case why not
> try for just the first letter by the letter code e.g lower case f
> is CHR$(102) while uppercase F is CHR$(70)

Thanks for that and to be honest that would probably do. I just
thought it was odd that there doesn't appear to be a way of being
case sensitive without doing the testing yourself. I might have
expected a flag on the entry to OS_file 17 to say fixed case but it
appears not.

Thanks for the help.

Cheers,

Bob.

-- 
Bob Latham
Stourbridge, West Midlands

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


Thread

case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 12:46 +0100
  Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 14:21 +0100
    Re: case sensitive file test Kevin Wells <kev@kevsoft.co.uk> - 2020-05-26 15:34 +0100
      Re: case sensitive file test Steve Fryatt <news@stevefryatt.org.uk> - 2020-05-26 17:12 +0100
        Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 17:42 +0100
          Re: case sensitive file test Steve Fryatt <news@stevefryatt.org.uk> - 2020-05-26 18:21 +0100
            Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 19:46 +0100
        Re: case sensitive file test Steve Drain <steve@kappa.me.uk> - 2020-05-27 13:14 +0100
          Re: case sensitive file test jgh@mdfs.net - 2020-05-27 16:25 -0700
            Re: case sensitive file test Steve Drain <steve@kappa.me.uk> - 2020-05-28 14:16 +0100
              Re: case sensitive file test druck <news@druck.org.uk> - 2020-06-01 20:01 +0100
      Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 17:29 +0100
        Re: case sensitive file test Steve Fryatt <news@stevefryatt.org.uk> - 2020-05-26 17:52 +0100
          Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 18:06 +0100
        Re: case sensitive file test "John Williams (News)" <UCEbin@tiscali.co.uk> - 2020-05-26 18:00 +0100
          Re: case sensitive file test "John Williams (News)" <UCEbin@tiscali.co.uk> - 2020-05-26 18:07 +0100
          Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 19:40 +0100
    Re: case sensitive file test David Higton <dave@davehigton.me.uk> - 2020-05-26 18:08 +0100
      Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-05-26 19:40 +0100
  Re: case sensitive file test Erik G <noreply123@xs4all.nl> - 2020-06-01 03:19 +0200
    Re: case sensitive file test Bob Latham <bob@sick-of-spam.invalid> - 2020-06-01 15:53 +0100
    Re: case sensitive file test druck <news@druck.org.uk> - 2020-06-01 20:57 +0100
    Re: case sensitive file test jgh@mdfs.net - 2020-06-04 09:23 -0700
      Re: case sensitive file test Martin <News03@avisoft.f9.co.uk> - 2020-06-04 17:51 +0100
      Re: case sensitive file test druck <news@druck.org.uk> - 2020-06-04 20:49 +0100
        Re: case sensitive file test jgh@mdfs.net - 2020-06-04 16:18 -0700
          Re: case sensitive file test druck <news@druck.org.uk> - 2020-06-05 11:27 +0100

csiph-web