Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
PlCompound Method (functor, args)
SwiPlCs interface ► SbsSW.SwiPlCs ► PlTerm ► PlCompound(String, PlTermV)
Create a compound term with the given name from the given vector of arguments. See PlTermV for details.


a new PlTerm

The example below creates the Prolog term hello(world).

PlTerm t = PlTerm.PlCompound("hello", new PlTermv("world"));