From rhoekstr@wins.uva.nl  Thu May 11 09:40:25 2000
Received: from smtp1.a2000.nl ([62.108.1.203])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id JAA00904
	for <prolog@swi.psy.uva.nl>; Thu, 11 May 2000 09:40:25 +0200 (MET DST)
Received: from node10e0e.a2000.nl ([24.132.14.14] helo=rhino)
	by smtp1.a2000.nl with smtp (Exim 2.02 #4)
	id 12pna9-0002fg-00; Thu, 11 May 2000 09:40:29 +0200
From: "Rinke Hoekstra" <rhoekstr@wins.uva.nl>
To: "Paul Sephton" <paul@inet.co.za>
Cc: "Prolog Mailing List" <prolog@swi.psy.uva.nl>
Subject: RE: String Representation
Date: Thu, 11 May 2000 09:45:07 +0200
Message-ID: <AMELLLHDBKKDLOHMLOJLAEPECCAA.rhoekstr@wins.uva.nl>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <Pine.LNX.3.91.1000511101957.17382D-100000@pdev.inet.co.za>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal

Doesn't something like:

:- style_check(+string).

change the treatment of "abcd" from a list of charactercodes
to a (real) string? Or did it change 'abcd' into a string?
It was a long time ago, but I remember having a similar 
problem when trying to open a connection to a database from prolog.

Regards,

	R. Hoekstra


> -----Original Message-----
> From: Paul Sephton [mailto:paul@inet.co.za]
> Sent: donderdag 11 mei 2000 10:24
> To: dick@csci.csusb.edu
> Cc: prolog@swi.psy.uva.nl
> Subject: Re: String Representation
> 
> 
> On Wed, 10 May 2000 dick@csci.csusb.edu wrote:
> 
> > I thought
> > 	'bblahblah blah'
> > did that!
> > 
> 
> Nah! That gets it into an atom.  define x('abc') and abc gets stored in 
> an atom.  define x("abc") and it goes into a list of character codes.  I 
> need both of these, but also need "abc" as a string under certain 
> conditions.  with x("abc") and later x(S),string(X) fails.
> 
> Paul
> __________________________________________________________________
> ___________
> Paul Sephton (paul@inet.co.za)                               INET 
> Development
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~
> Ever wondered if jumping out of the frying pan might actually be 
> refreshing?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~
> 
> 
> ----------------
> * To UNSUBSCRIBE, please use the HTML form at
> 
>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist
> 
> or send mail to prolog-request@swi.psy.uva.nl using the Subject: 
> "unsubscribe"
> (without the quotes) and *no* message body.
> 
> ** An ARCHIVE of this list is maintained at
> 
>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/
> 
> 

