Hi,

After much debugging and torment, I realized the assert statement has
a subtle difference when used with the .executeCommand method, as
opposed to being use directly at the Jess console.

In the Jess console this works fine (note the quote signs around the
state name):

(assert (conventionalAddress (number_prefix NIL) (street_number 48)
(street_name Marlow) (street_type Street) (suburb_name Wembley)
(city_name Perth) (state_name "Western Australia") (post_code 6014) )

but with .executeCommand the same " " around the string causes the
program to crash. I tried it without the " " and just a single name,
and it worked fine. How do I represent a string that has several words
in it, when using .executeCommand and assert?


Thanks!
Matt



 
-- 
Matthew Hutchinson
Ph.D. Candidate

Department of Spatial Sciences
Curtin University of Technology
GPO Box U1987
Perth, Western Australia 6845

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