Hi Norman,

Not sure where you got this idea; once you open a file, it simply
stays open, and accessible by the assigned name, until it is closed
somewhere. You can open a file at the beginning of your application
and never close it at all, if you want; then any rule can write to
it. 



I think Gyhra, Norman (Student Assistant) wrote:
> Hi there !
> 
> I_m looking for a possibility to have some sort of global file handles in
> Jess.
> I_d like to open a file before starting the Rete engine and have several
> rules write
> some stuff in it.
> 
> Do I really have to open and close the file each time I_m going to print out
> something ?
> 
> thanks in advance.
> 
> CU
> Norman




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