bitburner-src/doc/source/netscript/basicfunctions/tprint.rst
2023-01-06 14:43:09 +02:00

17 lines
386 B
ReStructuredText

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