It appears that I am experiencing a backward compatability
issue.
In Jess 4.0:
------------------------------------------------------------------------------------
Jess, the Java Expert System Shell
Copyright (C) 1998 E.J. Friedman Hill and the Sandia Corporation
Jess Version 4.0 3/23/98
Jess> (assert (one 1)) (assert (two 2))
<Fact-0>
Jess> <Fact-1>
Jess> (facts)
f-0 (one 1)
f-1 (two 2)
For a total of 2 facts.
TRUE
Jess>
------------------------------------------------------------------------------------
Regards,
Bob
Ernest Friedman-Hill wrote:
> Hi Bob,
>
> It works this way just because that's how the CLIPS command-line
> interface works, and CLIPS compatibility used to be a big driver for
> Jess.
>
> I think Bob Johnson wrote:
> >
> >
> > I am wondering why Console.class only evaluates one s-expression per
> >
> > invocation. More precisely, why does Jesp.parse() seem to only process
> > one
> > s expression given the "while (!val.equals(Funcall.EOF))" control
> > structure?
> >
> > Example:
> > ---------------------------------------------------------------------------------
> >
> > Jess, the Java Expert System Shell
> > Copyright (C) 1998 E.J. Friedman Hill and the Sandia Corporation
> > Jess Version 5.0b2 11/8/99
> >
> > Jess> (assert (one 1)) (assert (two 2))
> > <Fact-0>
> > Jess> (facts)
> > f-0 (one 1)
> > For a total of 1 facts.
> > Jess>
> > ---------------------------------------------------------------------------------
> >
> > Regards,
> >
> > Bob
> >
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems Research Phone: (925) 294-2154
> Sandia National Labs FAX: (925) 294-2234
> Org. 8920, MS 9012 [EMAIL PROTECTED]
> PO Box 969 http://herzberg.ca.sandia.gov
> Livermore, CA 94550
>
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
begin:vcard
n:Johnson;Bob
tel;fax:303 544 0373
tel;work:303 440 8833 x20
x-mozilla-html:FALSE
url:www.streampoint.com
org:Streampoint Financial Systems, Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
title:V.P. of Product Development
adr;quoted-printable:;;4940 Pearl East Circle=0D=0ASuite 200=0D=0A;Boulder;CO;80301;
fn:Bob Johnson
end:vcard