(deftemplate person (slot name (type STRING)) (slot age (type INTEGER)))
(bind ?new (assert (person (name Fred) (age 22
=
The question is how do i get the binded fact's slot value, name and age???
Could any provide help to me~
I'm new in JESS
Message-
From: alvin0618 [mailto:alvin_ng0...@live.com]
Sent: Monday, November 22, 2010 9:47 AM
To: jess-users@sandia.gov
Subject: JESS: Get fact's slot value
(deftemplate person (slot name (type STRING)) (slot age (type INTEGER)))
(bind ?new (assert (person (name Fred) (age 22