mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
06a985bdf8
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
36 lines
811 B
Markdown
36 lines
811 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tprintf](./bitburner.ns.tprintf.md)
|
|
|
|
## NS.tprintf() method
|
|
|
|
Prints a raw value or a variable to the Terminal.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
tprintf(format: string, ...values: any[]): void;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| format | string | Format of the message. |
|
|
| values | any\[\] | Value(s) to be printed. |
|
|
|
|
<b>Returns:</b>
|
|
|
|
void
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0 GB
|
|
|
|
- See [print](./bitburner.ns.print.md) for how to add color to your printed strings.
|
|
|
|
- See [printf](./bitburner.ns.printf.md) for examples on formatted strings.
|
|
|
|
- For more detail, see: https://github.com/alexei/sprintf.js
|
|
|