bitburner-src/doc/source/netscript/basicfunctions/tprint.rst

17 lines
386 B
ReStructuredText
Raw Normal View History

tprint() Netscript Function
===========================
.. js:function:: tprint(args...)
:RAM cost: 0 GB
:param args: Values to be printed
2021-03-12 08:51:56 +01:00
Prints any number of values to the Terminal.
2021-03-12 08:51:56 +01:00
Example:
.. code-block:: javascript
2023-01-06 13:43:09 +01:00
ns.tprint("Hello world!"); // Prints "Hello world!" to the terminal.
ns.tprint({a:5}); // Prints '{"a":5}' to the terminal.