Added documentation for Bladeburner API. Fixed typo in BN-7 description.

This commit is contained in:
danielyxie
2018-06-25 14:07:03 -05:00
parent 0b16a9f605
commit 75ff10b5c2
21 changed files with 1801 additions and 44 deletions

View File

@@ -942,7 +942,11 @@ prompt
Defining your own Functions
---------------------------
You can define your own functions in Netscript using the following syntax::
Note that the following information is only applicable for Netscript 1.0.
:doc:`netscriptjs` allows you to define your functions using native Javascript
techniques.
You can define your own functions in Netscript 1.0 using the following syntax::
function name(args...) {
function code here...