help
void help(var self);
int help_to(var out, int pos, var self);
Print help information about the object self
either to stdout
or to the object out
at some position pos
.
Usage
help(Int);
Usage information
The Help
class can be implemented to let an object provide helpful information about itself. In the standard library this class is implemented by Type
and it prints out the documentation provided by the Doc
class in a friendly way.
struct Help {
int (*help_to)(var, int);
};