If I want to make a rule dynamic so i can use assert after the database file has been loaded, how do i do it? I'm using XSB Prolog at the moment, the file is something like this:
:- dynamic likes/2
likes(mary,tom)
when i try to consult the file with XSB i get an error:
? consult('D:\file.P).
not permitted to assert to static predicatelikes/2
forward continuation...blahblah
Any ideas?