From 57bebd41ca9f12919920748ce683b55e4b56ee29 Mon Sep 17 00:00:00 2001 From: PureFox48 <64583745+PureFox48@users.noreply.github.com> Date: Sun, 31 Jan 2021 05:21:33 +0000 Subject: [PATCH] Adds documentation for System.writeAll method (#886) --- doc/site/modules/core/system.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/site/modules/core/system.markdown b/doc/site/modules/core/system.markdown index 946bc9ce..04821453 100644 --- a/doc/site/modules/core/system.markdown +++ b/doc/site/modules/core/system.markdown @@ -48,3 +48,8 @@ System.write(4 + 5) //> 9 In the above example, the result of `4 + 5` is printed, and then the prompt is printed on the same line because no newline character was printed afterwards. + +### System.**writeAll**(sequence) + +Iterates over `sequence` and prints each element, but does not print a newline +character afterwards. Each element is converted to a string by calling `toString` on it.