mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
18 lines
470 B
ReStructuredText
18 lines
470 B
ReStructuredText
tprint() Netscript Function
|
|
===========================
|
|
|
|
.. js:function:: tprintf(format, args...)
|
|
|
|
:RAM cost: 0 GB
|
|
:param format: Format of the string to be printed.
|
|
:param args: Values to be formatted
|
|
|
|
Prints a raw formatted string to the terminal.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
tprintf("Hello world!"); // Prints "Hello world!" to the terminal.
|
|
tprintf("Hello %s", "world!"); // Prints "Hello world!" to the terminal.
|