• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JESS!

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello mr HILL,
I have a big problem with the command :"batch ...."
I used it to load the first file : file1.clp
then I exeuted it(file1);
after that I used it to load: File2.clp
and I executed it(file2),
after I used it agin to load the first file :file1.clp
and when I execute it(file1) , the second one is executing.

why? what must I do?

waiting for your answer. thanks!
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If file2 contains rules, then batch-ing the file will build those rules into the Rete network. They don't go away; you can subsequently call "run" and run those rules many times.

If you want to clear Jess and start over, use the "clear" function to do so.
 
reply
    Bookmark Topic Watch Topic
  • New Topic