I think Michael Knapik wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Two questions:
> 
> 1) When in the Jess prompt ... and leave the last paren off (as I
> did above), Jess goes away (the Jess prompt never returns)
> apparently no matter what is typed after that.

Well, the parser is accepting input, and when you supply the missing ')',
it'll finish. This is how the parser can do error recovery: it always
finds the end of an expression before interpreting it; that way, even
if the expression was erroneous, the parser is in a good state and
ready to accept more input afterwards.

If you've got a copy of CLIPS available, give it a try; it behaves the
same way.

>  How does one get back to the Jess prompt when one tried to execute
> a faulty-formed expression (and an error dd not occur)

If the prompt appears to "hang", you can always type a few extra ')'
characters.

>  2) In the CommandWindow (DOS CommandPrompt) I noticed exit (or
> escape or cmd or quit etc.) does not work to exit back to DOS
> prompt.

Call the (exit) function -- i.e.,

Jess> (exit)
C:\>



---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        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