Bitburner
latest

Contents:

  • Full documentation
  • Basic documentation
    • Full documentation
    • Learn to Program
    • Netscript 1.0
    • NetscriptJS (Netscript 2.0)
    • Script Arguments
    • Basic Functions
      • hack()
      • grow()
      • weaken()
      • sleep()
      • print()
      • tprint()
      • disableLog()
      • enableLog()
      • isLogEnabled()
      • scan()
      • nuke()
      • brutessh()
      • ftpcrack()
      • relaysmtp()
      • httpworm()
      • sqlinject()
      • run()
      • exec()
      • spawn()
      • kill()
      • killall()
      • scp()
      • ls()
      • ps()
      • hasRootAccess()
      • getHackingLevel()
      • getHackingMultipliers()
      • getHacknetMultipliers()
      • getServerMoneyAvailable()
      • getServerMaxMoney()
      • getServerSecurityLevel()
      • getServerMinSecurityLevel()
      • getServerRequiredHackingLevel()
      • getServerNumPortsRequired()
      • getServerMaxRam()
      • getServerUsedRam()
      • serverExists()
      • fileExists()
      • isRunning()
      • getPurchasedServerCost()
      • purchaseServer()
      • deleteServer()
      • getPurchasedServers()
      • getPurchasedServerLimit()
      • getPurchasedServerMaxRam()
      • scriptRunning()
      • scriptKill()
      • getScriptRam()
    • Advanced Functions
    • Hacknet Node API
    • Miscellaneous
  • Basic Gameplay
  • Advanced Gameplay
  • Keyboard Shortcuts
  • Game Frozen or Stuck?
  • Guides & Tips
  • Tools & Resources
  • Changelog
  • v1.0.0 script migration guide
  • 404
  • Donate
Bitburner
  • Docs »
  • Netscript »
  • Netscript Basic Functions »
  • print() Netscript Function
  • Edit on GitHub

print() Netscript Function¶

print(args...)¶
RAM cost:

0 GB

Arguments:
  • args – Values to be printed.

Prints any number of values to the script’s logs.

Example:

print("Hello world!"); // Prints "Hello world!" in the logs.
print({a:5}); // Prints '{"a":5}' in the logs.
Next Previous

© Copyright 2016, Bitburner Revision 535812a0.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.