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 02:51:56 -05:00
Prints any number of values to the Terminal.
2021-03-12 02:51:56 -05:00
Example:
.. code-block:: javascript
2023-01-06 14:43:09 +02:00
ns.tprint("Hello world!"); // Prints "Hello world!" to the terminal.
ns.tprint({a:5}); // Prints '{"a":5}' to the terminal.