Availability:built-in
write(Stream, Term), nl(Stream).. The output
stream is locked, which implies no output from other threads can appear
between the term and newline.
write(Stream, Term), nl(Stream).. The output
stream is locked, which implies no output from other threads can appear
between the term and newline.