Yes, the global context is fine. 

I think [EMAIL PROTECTED] wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi All,
> 
> Just switched to Jess6.0. Trying to run some old code.
> 
> 

Can't be too terribly old -- this method was introduced sometime
during the 6.0 alpha release cycle.

> Rete m_engine = .....
> m_engine.definstance(JessTypename.trim(), object, dynamic);
> 
> The above doesn't build anymore.
> 
> Checked with API Guide and found it has a new Context parameter.
> 
> Changed it to 
> 
> m_engine.definstance(JessTypename.trim(), object, dynamic, 
>m_engine.getGlobalContext());
> 
> It is building, but I wanted to check with the experts is this is OK.
> 
> 
> Thanks 
> 
> Dheeraj
> -- 
> 
> 
> 
> 
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
>convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
> 
> Get your own FREE, personal Netscape Mail account today at 
>http://webmail.netscape.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]
> --------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

--------------------------------------------------------------------
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