When I run my two programs\queries seperately they work fine. When I
load them together the first one works great, but after reconsulting,
the second program fails to return the correct results. Is there an
API or command to simply reset the Xsb engine so I can repeat this
cycle?
thanks
P.S. - I am using the following APIs\commands to control Xsb
programatically:
1. API- Init / _xsb_init_string@4
2. Command - path_sysop(chdir,'mypath').
3. Command - reconsult('filenameNoExtension').
4. API- Query() / _xsb_query_string_string_b@20
5. API- CloseQuery() / _xsb_close_query@0
6. goto step 2 with new program filename
7. API- Close() / _xsb_close@0