Cold Help System: Programming: ColdC Reference Manual: Functions: Misc: bind_function()


INTEGER bind_function(SYMBOL function, OBJNUM obj)

This function is used to secure other ColdC functions which may have potential security problems. It binds the function specified by the argument function to the object specified by obj. After a function is bound to an object, only methods defined on that object may call the function. The error ~perm is thrown if methods defined on descendants of the object or on any other object call a bound function which is not bound to them.


bind_function() | ctime() | localtime() | mtime() | time() | unbind_function()


the Cold Dark