User Tools

Site Tools


script:walkthrough:functions
Records 
 Scopes

Functions

  • Defining a function (empty body).
  • Returning values from the function.
  • Passing arguments.
  • Passing record as argument.
  • Default values to function arguments.
  • Defining function in a record.
  • Defining a function within a function.
  • Accessing function's locals within a sub function.
  • Reference to function.
  • Callback function as argument.
  • Returning a local function from a function.
Records 
 Scopes
script/walkthrough/functions.txt · Last modified: 2017-03-20 22:26 by skyjake