2021-11-04 01:19:52 +01:00
|
|
|
<!-- 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
|
2021-11-22 17:36:13 +01:00
|
|
|
tprintf(format: string, ...values: any[]): void;
|
2021-11-04 01:19:52 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2022-10-10 00:46:13 +02:00
|
|
|
| format | string | Format of the message. |
|
|
|
|
| values | any\[\] | Value(s) to be printed. |
|
2021-11-04 01:19:52 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 0 GB
|
|
|
|
|
2022-10-10 00:46:13 +02:00
|
|
|
- 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
|
2022-07-16 05:47:19 +02:00
|
|
|
|