Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Artifact ID: | 0a106fc8349ac6eacf221a831b31bf63b678510f |
|---|---|
| Page Name: | Script evaluation in detail |
| Date: | 2016-06-23 20:35:39 |
| Original User: | dgp |
| Next | 06dbd86126f99a9dad6d8d02a409eb463cb1421c |
Content
The basics of Tcl script evaluation are not difficult to learn and use effectively. Deep in the details there are some subtle and tricky bits, as well as places where customization opportunities exist that are not well known. This page aims to pick apart the steps of Tcl script evaluation in fine detail.
Inputs:
- Script - a 'string', that is a finite sequence of Unicode codepoints.
- Interpreter - collection of state and contexts that influence evaluation.
Outputs:
- Return code - integer value.
- Result - Tcl value held in the interp.
- Return options - Tcl dictionary held in interp.
Steps: