NAME

function - a function pointer

SYNTAX EXAMPLE

foo /* if foo is a function in this object */
bar::foo /* if foo is a function in the inherited program 'bar' */
o->foo /* function (or variable) foo in the object o */

DESCRIPTION

A functionpointer is a reference to a function in an object. It can be called with call_function which can also be written as just (). If the object the functionpointer is in is destructed the pointer will become 0. If you try to call a functionpointer that has is 0 then 0 will be returned.

KEYWORDS

types

SEE ALSO

object, call_function, functionp, function_object and function_name

RELATED PAGES