Sujet : Re: Why do we need "eval"? (Expect question)
De : wortkarg3 (at) *nospam* yahoo.com (Harald Oehlmann)
Groupes : comp.lang.tclDate : 13. Sep 2024, 07:47:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc0n6b$o4nq$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
Am 13.09.2024 um 06:32 schrieb Rich:
Kenny McCormack <gazelle@shell.xmission.com> wrote:
ISTM that this {*} thing is a relatively recent addition to the langauge,
Not really, it was added in 8.5, which was released Feb 12, 2016 [1].
Although 2016 *is* relatively recent in regards to many expect scripts.
since Expect has been around for a long time, and most of the scripts that
do this sort of thing were written long ago.
Before 8.5, 'eval' was the way to perform the "splicing" that {*}
provides.
[1] https://www.tcl.tk/software/tcltk/8.5.tml
Sorry, this date is TCL 8.5.19. The {*} was TCL 8.5.0...