bug-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escapes in Backquoted Strings


From: Jan Burse
Subject: Re: Escapes in Backquoted Strings
Date: Mon, 28 Mar 2011 10:14:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.18) Gecko/20110320 SeaMonkey/2.0.13

Ok, thank you. So no bug at all, great!

Daniel Diaz schrieb:
Hi,

can you give me the exact error message for X = `\` ?
If it is
| ?- X = `\`.
uncaught exception: error(syntax_error('user_input:1 (char:8) _expression_ expected or previous operator needs brackets'),read_term/3)
it is due to the fact \ is also an operator and thus needs to be put inside ( ) as an argument of another operator (here it is =). Use instead:
| ?- X = (`\`).

X = \
Daniel

-- 
XLOG Technologies GmbH
Jan Burse
Freisch├╝tzgasse 14
8004 Z├╝rich
E-mail: address@hidden
natel: +41-76-342 74 75
fixnet: +41-43-268 04 03 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]