Runtime evaluation/In an environment: Difference between revisions
Content added Content deleted
(→{{header|Octave}}: changed into an imitation of python, more or less) |
(→{{header|Tcl}}: (before: bad understanding of the tcl code? note the apply) maybe the error was elsewhere; now hopefully fixed) |
||
Line 179:
=={{header|Tcl}}==
<lang tcl>package require Tcl 8.5
proc
set
expr {$2nd - $1st}▼
}
set b [evalit {x {expr {2 ** $x}}} 5];
</lang>
|