SWI-Prolog
Temporarily redirect write/1 or current_output to a file
Nice to know
EricGT
Split this topic
December 20, 2022, 10:22am
5
A post was split to a new topic:
Unexpected result using with_output_to and string(S)
show post in topic
Related Topics
Topic
Replies
Views
Activity
Behavior of set_stream/2 on output streams created on atoms
Help!
8
465
August 29, 2019
When format, ansi_format, print_term and print_message don't seem right, try portray
Nice to know
2
459
July 14, 2020
What is the opposite of write_canonical to read it back in?
Predicate
5
210
July 21, 2023
Best practices for printing
Nice to know
best_practices
,
printing
4
2603
January 12, 2023
Preserving CR with LF when converting text files to character codes
Nice to know
2
787
July 3, 2020