mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
Added documentation for Bladeburner API. Fixed typo in BN-7 description.
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user