Re: How call RAW text with Prolog predicate from C?
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <644c62122374777b42bc6b2ae25ca590@localhost> |
I Try. It not work. res == 2. On Sun, 26 Apr 2009 11:33:09 -0700 (PDT), Dave Sworin <[email protected]> wrote: > asserta/1 requires an extra set of parentheses. > So try the following ... > char str[]="asserta((parent(bob,mary)))"; > ... and see if this works. > > > > >