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.
Declaration Syntax
Return Valuea new PlTerm
ExamplesThe example below creates the Prolog term hello(world).
CopyC#PlTerm t = PlTerm.PlCompound("hello", new PlTermv("world"));