bug ?

olivier defour <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
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.

_______________________________________________
Bug-prolog mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.