Anonymous user
Runtime evaluation/In an environment: Difference between revisions
Runtime evaluation/In an environment (view source)
Revision as of 00:23, 30 April 2009
, 15 years ago→{{header|Tcl}}: (before: bad understanding of the tcl code? note the apply) maybe the error was elsewhere; now hopefully fixed
(→{{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>
|