Date: | Mon Apr 5 12:57:54 2001 | |
Subject: | Prolog, NT and strings | |
From: | Michael Worsley | |
Volume-ID: | 1010405.01 |
Hi, Quicky question: how do you turn off backslash-escaping within strings? (Preferably without rebuilding poplog) <eg> ?- consult('d:\foo\bar'). ;;; PROLOG ERROR - CAN'T OPEN FILE (error: INVALID_NAME) ;;; INVOLVING: d:foar ;;; DOING : compile/2 versus: ?- consult('d:\\foo\\bar'). hello yes </eg> This is a result of '\' belonging to character class 12 -- does anyone know how I can shift this to class 1 within prolog? Cheers, Michael |