Wiki
Version 4 (modified by todd.a, 7 years ago)

--

Statements

These statements do not affect flow of control

  • pass - specify non operation
  • print - output something
  • try-catch - try a block and handle any thrown exceptions
  • use - Specify a namespace module to make available to this module
  • lock - lock and execute code in a critical section

Test Supporting

  • assert - assert condition
  • trace - emit trace/debug info
  • expect - assert receiving an exception

Event Handling Specification

  • listen - specify handler for event
  • ignore - remove handlers for event
  • raise - fire an event