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
C# | Visual Basic | Visual C++ | F# |
public string ToStringCanonical()
Public Function ToStringCanonical As String
public: String^ ToStringCanonical()
member ToStringCanonical : unit -> string
Return Value
String
return the string of a PlTerm
return the string of a PlTerm
Exceptions
Exception | Condition |
---|---|
PlTypeException | Throws a PlTypeException if PL_get_chars/3 didn't succeeds. |
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)