[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug ?
From: |
Daniel Diaz |
Subject: |
Re: bug ? |
Date: |
Sat, 19 Jul 2003 20:21:10 +0200 |
User-agent: |
IMP/PHP IMAP webmail program 2.2.8 |
Hi,
You should use / instead of \ in pathnames or else use a double backslash since
inside a quoted atom \ is an escape character. So use:
['Z:/mes_documents/GNU-Prolog/rules']
or
['Z:\\mes_documents\\GNU-Prolog\\rules']
Quoting olivier defour <address@hidden>:
> hello,
> I install gnu-prolog on my computer (winbdows XP) with
> "setup-gprolog-1.2.16.exe". I write a simple prolog file with
> wordpad, and I have this error when I try to consult it :
>
> GNU Prolog 1.2.16
> By Daniel Diaz
> Copyright (C) 1999-2002 Daniel Diaz
> | ?- ['Z:\mes_documents\GNU-Prolog\rules'].
> uncaught exception: error(syntax_error('user_input:1 (char:6)
> unknown escape sequence'),read_term/3)
>
> I have no problem when i copy my program from the file to GNU Prolog
> (Ctrl-C / Ctrl-Alt-V) :
>
> | ?- [user].
> compiling user for byte code...
> dynamic(cc/3).
> [...]
> user compiled, 72 lines read - 28353 bytes written, 67890 ms
> (203 ms) yes
>
> Do you know where the problem comes from ? (probably from and
> end-of-file
> character in my file no ?)
>
> Best regards,
>
> Olivier Defour.
>
> --
> Ce message a subi une analyse antivirus
> par MailScanner ; il est vraisemblablement
> sans danger.
>
>
===============================================
Daniel Diaz
University of Paris 1 INRIA Rocquencourt
75013 Paris FRANCE 78153 Le Chesnay FRANCE
web: http://pauillac.inria.fr/~diaz
email: address@hidden
--
Ce message a subi une analyse antivirus
par MailScanner ; il est vraisemblablement
sans danger.
- bug ?, olivier defour, 2003/07/18
- Re: bug ?,
Daniel Diaz <=
- Prev by Date:
bug ?
- Previous by thread:
bug ?
- Index(es):