Hello everybody!


I have encountered a problem regarding
escaped characters in strings.

I have the following fact:
(text "This is a backslash: \\")

The double backslash is correctly treated by the
Jess interpreter e.g. when I print out the string.

Now, if I save this fact to a file using the (save-facts)
command, the resulting file contains the following string:

(text "This is a backslash: \")

The double backslash is gone which is no problem so far.

However, if I want to re-load this fact into
Jess using (load-facts), I will get an error
message because the backslash invalidates the
double quotes.

I consider this a bug.
A colleague told me it was described in the
documentation, but I did not find it.
In fact, the text below (save-fact) states:
"This file [which is saved] is suitable for
reading with load-facts."
And this is not true!

I use v5.0, there is no information on
the website whether v5.1 or v6 solve this
problem.



Thanks for any comments and help!

kind regards,
Norman Gyhra

---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to