bitburner-src/doc/source/netscript/basicfunctions/print.rst
MageKing17 ae15914efa Update netscript documentation.
Unfortunately, I haven't used most of the specialty APIs yet, so I'm not intimately familiar with where their documentation might be wrong. I figured some fixes were better than no fixes, and I can always make more fixes later.

Fixes #1023.
2021-07-06 00:18:22 -07:00

17 lines
374 B
ReStructuredText

print() Netscript Function
===========================
.. js:function:: print(args...)
:RAM cost: 0 GB
:param args: Values to be printed.
Prints any number of values to the script's logs.
Example:
.. code-block:: javascript
print("Hello world!"); // Prints "Hello world!" in the logs.
print({a:5}); // Prints '{"a":5}' in the logs.