print_message_lines/4

print_message_lines(+ Stream, + Prefix, + _Lines__)*

Quintus/SICStus/SWI compatibility predicate to print message lines using a prefix.

Print a message (see print_message//22) that has been translated to a list of message elements. The elements of this list are:

  • Format-Args Where Format is an atom and Args is a list of format argument. Handed to format//33. +flush If this appears as the last element, stream is flushed (see @ref U60Uflush_outputU2fU_1 "flush_output//1"1) and no final newline is generated. +at_same_lineIf this appears as first element, no prefix is printed for the line and the line-position is not forced to 0 (see @ref U60UformatU2fU_1 "</tt>format//1"1,~N). +prefix<tt>(_Prefix_) define a prefix_ for the next line, say''will be seen as an empty prefix. (see @ref U60UformatU2fU_1 "</tt>format//1"1, ~N)+ <Format> Handed to format//33asformat(Stream, Format, []), may get confused with other commands.

  • nl A new line is started and if the message is not complete the __Prefix__ is printed too.