bitburner-src/doc/source/netscript/basicfunctions/print.rst
2021-03-12 02:51:56 -05:00

15 lines
309 B
ReStructuredText

print() Netscript Function
===========================
.. js:function:: print(x)
:RAM cost: 0 GB
:param x: Value to be printed.
Prints a value or a variable to the script's logs.
Example:
.. code-block:: javascript
print("Hello world!"); // Prints "Hello world!" in the logs.