mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 10:13:52 +01:00
15 lines
309 B
ReStructuredText
15 lines
309 B
ReStructuredText
print() Netscript Function
|
|
===========================
|
|
|
|
.. js:function:: print(x)
|
|
|
|
:RAM cost: 0 GB
|
|
:param x: Value to be printed.
|
|
|
|
Prints a value or a variable to the script's logs.
|
|
|
|
Example:
|
|
|
|
.. code-block:: javascript
|
|
|
|
print("Hello world!"); // Prints "Hello world!" in the logs. |