Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
PlCall Method (goal)
SwiPlCs interface ► SbsSW.SwiPlCs ► PlQuery ► PlCall(String)
Call a goal once.


- goal (String)
- The complete goal as a string

Return true or false as the result of NextSolution() or throw an exception.

Create a PlQuery from the arguments, generates the first solution by NextSolution() and destroys the query.


Assert.IsTrue(PlQuery.PlCall("is_list([a,b,c,d])"));

Assert.IsTrue(PlQuery.PlCall("consult('some_file_name')"));