Subject: Re: String Representation

From: Jan Wielemaker <[email-masked]>
Date: Thu, 11 May 2000 09:49:37 +0200

On Thu, 11 May 2000, Paul Sephton wrote:
>Here's a nice short one-
>
>How do I store a string (not a list of character codes) in a .pl source 
>file in such a way that consult/1 reads it as a string?

:- set_prolog_flag(double_quotes, string).

Formerly known (and still working)

:- style_check(+string).

In general, I would not use strings very often these days.  SWI-Prolog
has no limitations on length nor content for atoms and they are subject
to garbage collection.

	Regards --- Jan