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
C# | Visual Basic | Visual C++ | F# |
public static PlTerm PlCompound( string functor, PlTermV args )
Public Shared Function PlCompound ( functor As String, args As PlTermV ) As PlTerm
public: static PlTerm PlCompound( String^ functor, PlTermV args )
static member PlCompound : functor : string * args : PlTermV -> PlTerm
Examples
The example below creates the Prolog term hello(world).
Copy | |
---|---|
PlTerm t = PlTerm.PlCompound("hello", new PlTermv("world")); |
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60605.0 (1.1.60605.0)