Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
ToStringCanonical Method
SwiPlCs interface ► SbsSW.SwiPlCs ► PlTerm ► ToStringCanonical()()()()
Convert a PlTerm to a string by PL_get_chars/1
with the CVT_WRITE_CANONICAL flag. If it fails PL_get_chars/3 is called again with REP_MB flag.
Declaration Syntax
Return Value
return the string of a PlTerm
Exceptions
Exception | Condition |
---|---|
PlTypeException | Throws a PlTypeException if PL_get_chars/3 didn't succeeds. |