[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Apr 5 17:20:11 2001 
Subject:Re: Prolog, NT and strings 
From:Michael Worsley 
Volume-ID:1010405.03 

Aaron Sloman See text for reply address <Aaron.Sloman.XX@cs.bham.ac.uk>
wrote in message 9ahp0l$2oja$1@soapbox.cs.bham.ac.uk">news:9ahp0l$2oja$1@soapbox.cs.bham.ac.uk...
> [To reply replace "Aaron.Sloman.XX" with "A.Sloman"]
>
> "Michael Worsley" <mjw@praxis-cs.co.uk> writes:
>
> > Date: Thu, 5 Apr 2001 12:57:54 +0100
> >
> > Quicky question:  how do you turn off backslash-escaping within strings?
> > (Preferably without rebuilding poplog)
>
> > This is a result of '\' belonging to character class 12
>
> I think it is class 3

Yep, you are absolutely correct -- I rummaged too deeply and lost track of
what was happening.  \ is placed into class 12 by popc_declare.ph and
prolog.p, but this appears to only be effective locally.

Section 4 of REF * ITEMISE describes the behaviour I'm observing.   What I
want to do is use a plain string as a filename for consult etc *without* the
alterations described by this section taking place.

Any suggestions?

--
Michael Worsley
SPARK Development Team
Praxis Critical Systems Ltd