Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
Explicit Method
SwiPlCs interfaceSbsSW.SwiPlCsPlTermExplicit()()()()
Members
IconMemberDescription
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.

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)