Hello everybody!
Sorry that i'm asking so much (in you eyes probably stupid) questions, but
i'm trying to learn jess as i need it for my diploma thesis.
Have a look at the following function definition:
(deffunction strips (?goal ?initial)
"wrapper function for STRPS-Planner"
(
bind ?revplan (list)
return (length$ ?revplan)
)
)
when i try to call the above function like this (printout t (strips (list 1
2 3 4 55 6 7) (list)) crlf) i get the following result: ()?!?! How can this
be? As you pointed out i had a problem with the brackets I tried every
combination of brackets i could think of but nothing created the expected
result (which should be 0 in this case...).
So my question is again: What am i missing?
Regards and thanks for the help,
Christoph Spielmann
--
View this message in context:
http://www.nabble.com/Jess-Strangeness-tf3479610.html#a9711327
Sent from the Jess mailing list archive at Nabble.com.
--------------------------------------------------------------------
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]
--------------------------------------------------------------------