I think Matthew Hutchinson wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Perhaps a better question would be whether this should work:
> 
> engine.executeCommand("(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) ))");

It won't work because it's not valid Java syntax, as I explained
previously. You have to escape the nested quote characters:

 engine.executeCommand("(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) ))");

Note my addition of the two '\' (backslash) characters.

---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software 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