interp slaves
Gives the names of the children of an interpreter, with the old name of interp children.
interp slaves ?PATH?
Description
The same command as interp children. ztcl has it in each Tcl release, for old scripts. A new script uses interp children.
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
| PATH | interpreter path | {} | The interpreter. |
Returns
A list of names.
Examples
% interp create a; interp slaves
a
Errors
% interp slaves nope
could not find interpreter "nope"
-errorcode TCL LOOKUP INTERP nope
Facts
- Capability
interp. A new interpreter does not have it until the host turns it on.- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.1