Functions

From Doomsday Wiki
Jump to: navigation, search

This article is a stub. You can help by expanding it.

  • 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.