Using Nasal functions: Difference between revisions

Jump to navigation Jump to search
m
→‎Function bodies: li'l hint/intro to function arguments as local variables
m (<syntaxhighlight> and tabulations - no custom tags!)
m (→‎Function bodies: li'l hint/intro to function arguments as local variables)
Line 54: Line 54:
== Function bodies ==
== Function bodies ==


To add a function body, you need to add code in between these curly braces.
To add a "function body", you need to add code in between these curly braces. This code can pretty much be anything at all, and in addition to using global variables and local ones that it has defined, the code can use local variables that represent the function arguments.


== Anonymous function arguments ==
== Anonymous function arguments ==
395

edits

Navigation menu