| Deutsch English Français Italiano |
|
<vc0f9n$ml8n$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Rich <rich@example.invalid>
Newsgroups: comp.lang.tcl
Subject: Re: Why do we need "eval"? (Expect question)
Date: Fri, 13 Sep 2024 04:32:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vc0f9n$ml8n$1@dont-email.me>
References: <vbv03t$1t4qm$1@news.xmission.com> <vbv8kd$blsb$1@dont-email.me> <vbvcsa$1tb4p$1@news.xmission.com>
Injection-Date: Fri, 13 Sep 2024 06:32:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="31c2bedd965bbd9ffe53b26dfc990353";
logging-data="742679"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yYyAwhv4N+rao9JpWKq7g"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:C/sLPlCeYosTK27wKK3YcTY6AWc=
Bytes: 1449
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