Update Documentation - What is new in Ring 1.6? - Using ? to print expression then new line
@@ -30,6 +30,7 @@ Ring 1.6 comes with many new features!
* Using CR as Carriage return
* Using the ! operator as not
* Using && and || operators
+* Using ? to print expression then new line
.. index::
pair: What is new in Ring 1.6?; Employee Application
@@ -407,3 +408,36 @@ Output:
Test2 - Pass
Test3 - Pass
Test4 - Pass
+
+.. index::
+ pair: What is new in Ring 1.6?; Using ? to print expression then new line
+
+Using ? to print expression then new line
+=========================================
+
+It's common to print new line after printing an expression, Now we can use the ? operator for that
+
+Example:
+
+.. code-block:: ring
+
+ ? "Hello, World!"
+ for x = 1 to 10
+ ? x
+ next
+
+Output:
+
+.. code-block:: none
+
+ Hello, World!
+ 1
+ 2
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ 10
