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

17 lines
380 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
tprint("Hello world!"); // Prints "Hello world!" to the terminal.
tprint({a:5}); // Prints '{"a":5}' to the terminal.