The compiler directive ':- set_prolog_flag(double_quotes,Value)'...
Move to
Next Prev
Up Top
See also
builtin
dynamic
external
include
op
package
import
init
initialization
ensure_loaded
double_quotes
IF Computer > MINERVA > Manual > Reference > Directives > double_quotes

double_quotes

The compiler directive ':- set_prolog_flag(double_quotes,Value)' is used to specify at compile time how the compiler shall deal with double quotes.

The predicate 'current_prolog_flag(?Flag,-Value)' can be used to query the value of a flag at execution time.

For Flag = double_quotes

     Value = chars      "hello" -> [h,e,l,l,o]
     Value = codes      "hello" -> [104,101,108,108,111]
     Value = atom       "hello" -> hello

By default, MINERVA reads a double quoted sequence of characters into a list of characters.

Suggested usage is to add a line to the start of a source file only when needed:

:- set_prolog_flag(double_quotes, codes).

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Directives/double_quotes/home_en.html
published 2008/7/21 update 2002/3/20 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS