From jan@swi.psy.uva.nl  Fri Feb 11 14:06:54 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id OAA07589;
	Fri, 11 Feb 2000 14:06:54 +0100 (MET)
Received: (from jan@localhost)
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id OAA11106;
	Fri, 11 Feb 2000 14:07:14 +0100
Date: Fri, 11 Feb 2000 14:07:14 +0100
Message-Id: <200002111307.OAA11106@gollem.swi.psy.uva.nl>
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Subject: Re: More on escape sequences
To: Luis Iraola Moreno <liraola@opera.dia.fi.upm.es>, prolog@swi.psy.uva.nl
In-Reply-To: Luis Iraola Moreno's message of Fri, 11 Feb 2000 13:57:19 +0000 (WET DST)
Phone: +31 - 20 - 525 6121

> 
> Hello again,
> 
> For writing atoms and strings using escape sequences I have tried write/2
> with the options [quoted=true, character_escapes=true].
> 
> Everything works fine for atoms:
> 
> ?- write('a''b
> c', [quoted=true, character_escapes=true]).
> 
> 'a\'b\nc'
> 
> yes.
> 
> But the same goal with a string does not insert the appropriate escape
> sequences:
> 
> ?- write("a""b
> c", [quoted=true, character_escapes=true]).
> 
> "a""b
> c"
> 
> yes.

Thats the same problem.  Thanks for reporting.  It is already fixed in
my internal version which will be made public soon.

	Regards --- Jan

