Please take a look at the following rule:
(defclass aproxy ProxyAccount)
(defclass cprice CheckPrice)
(defrule ChecksForExistence
?aproxy <- (aproxy (allowedCountries ?allowedCountries)
(allowedCurrencies ?allowedCurrencies) (allowedProducts ?allowedProducts)
(class ?class) (m_assetClasses ?m_assetClasses) (m_countries ?m_countries)
(m_currencies ?m_currencies) (m_dTotalValue ?m_dTotalValue) (m_productList
?m_productList) (m_vPositions ?m_vPositions) (totalAmount ?totalAmount)
(OBJECT ?o))
(test (> ?totalAmount 300000.0))
;; QUESTION?
;; I need to create a new CheckPrice object and pass it to the
selectAllPositions method of ?aproxy.
;;(test (> (call (call selectAllPositions (new CheckPrice 5.0))
size) 0))
=>
(printout t "Test successful" crlf)
)
How can I create this CheckPrice object?
Thanks
Lokesh
---------------------------------------------------------------------
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]
---------------------------------------------------------------------