Joy Online Manual

NAME
mainInterp - Main interpreter

SYNOPSIS

mainInterp

DESCRIPTION
The global variable mainInterp points to the main Tcl interpreter instance.  The main interpreter is created when its framework is loaded, i.e. in the start-up code of a Joy application or when loading the Joy palette into InterfaceBuilder.

EXAMPLE

tcl> $mainInterp eval: "string compare \$::self \$::mainInterp"
0

Index