This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling procedures questions


Crystal, Mayer wrote:

Just for clarification, I've created a simple test which illustrates the
issue I am having. The following three classes have been defined:
... public class KawaTest {
private static final String TEST_RULE = "(or proc1? (or proc2?
proc3?))";
... When I run the main of KawaTest the output of the println statement is:


Procedure value = #<procedure proc1?>

That is because the result of your test is a procedure.


What I was trying to do though was to get the result as true or false.

That would be this:


TEST_RULE = "(or (proc1?) (or (proc2?) (proc3?)))";

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]