tcl-quill 0.3.0: Quill Project Automation System for Tcl/Tk

code(n): Code Introspection and Manipulation -- quill(n)

SYNOPSIS
DESCRIPTION
COMMANDS
AUTHOR
SEE ALSO

SYNOPSIS

package require quill 0.3.0
namespace import ::quill::*
code subcommand ?args...?
code getproc name

DESCRIPTION

code(n) contains commands for introspection and manipulation of the application's own code.

COMMANDS

code(n) defines the following commands:

code subcommand ?args...?
This command provides the following subcommands.
code getproc name
Given a proc name, retrieves and returns the proc's definition (including default values for optional arguments). If name contains any namespaces, they are stripped; thus, any proc can be redefined in any namespace or interpreter by writing code like this:

namespace eval ::mynamespace:: [getproc ::other::myproc]
or

$interp eval [getproc ::other::myproc]

AUTHOR

Will Duquette

SEE ALSO

quill(n).
Generated from code.manpage on Sat Nov 08 09:29:58 PST 2014