Hi guys,

I was reading chapter 5 of the  book but not too sure how can I actually get the console to output the contents of a Java Vector on the console as a enumeration.

 

Jess> (bind ?vector (new java.util.Vector))

<External-Address:java.util.Vector> Jess> (call ?vector add 3)

TRUE

Jess> (call ?vector add 10 )

TRUE

Jess> (call ?vector add 25)

TRUE

Jess> (call ?vector elements)

<External-Address:java.util.Vector$1>

 

any idea how I can get the Jess console to display all the members of vector like in

(call ?vector elements)        ??

 

Cheers!!

 

Regards

David

 

Reply via email to