Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - A-Z -> R -> RunHooks

RunHooks:Object( id,data:Object )

Returns:

The data produced by the last hook function

Description:

Run hook functions

RunHooks runs all hook functions that have been added for the specified hook id.

The first hook function is called with the provided data object. The object returned bythis function is then passed as the data parameter to the next hook function and so on.Therefore, hook functions should generally return the data parameter when finished.


Comments

None.

BlitzMax Manual Forum

Blitz3D Equivalent Command