Hello,
How can I "print" a term to a string ? In other words, how can I do the equivalent of (+Term, -String) :-
open(TempFileName, write, S), write_term(S, Term), close(S), file_to_string(TempFileName, String).
without using a temporary file at all ?
Thanks,
Armin. ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------