I think Tercio de Morais Sampaio Silva wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> 
> Hi all,
> 
> I have ploblems to specify the tokens "\n" and "\r" that represent the 
> and of line. How can I represent it on Jess?
> I've used "\n", "\r", "crlf", etc. But all of them had problems.
> 

Well, depends on the context. "crlf" is meaningful only to the
"printout" function. If you print the symbol "crlf" it comes out as a
newline; i.e.,

(printout t a crlf b)

prints

a
b

The "format" function understands the "%n" sequence as a newline:

(format t "a%nb")

prints

a
b

Finally, you can embed newlines in strings:

(printout t "a
b")

also prints

a
b

Note that all of this information is in the manual.

P.S. Please don't reply to an unrelated thread when starting a new
topic in a mailing list!

---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
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