Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
Explicit Method
SwiPlCs interface ► SbsSW.SwiPlCs ► PlTerm ► Explicit()()()()
Members
Icon | Member | Description |
---|---|---|
ExplicitNarrowingExplicitExplicitExplicit(PlTerm to String) |
Converts the Prolog argument into a string which implies Prolog atoms and strings
are converted to the represented text or throw a PlTypeException.
|
|
ExplicitNarrowingExplicitExplicitExplicit(PlTerm to Int32) |
Yields a int if the PlTerm is a Prolog integer or float that can be converted
without loss to a int. Throws a PlTypeException exception otherwise
|
|
ExplicitNarrowingExplicitExplicitExplicit(PlTerm to Double) |
Yields the value as a C# double if PlTerm represents a Prolog integer or float.
Throws a PlTypeException exception otherwise.
|