Re: where is the TCL "macro" command ?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: where is the TCL "macro" command ?
De : aotto1968 (at) *nospam* t-online.de (aotto1968)
Groupes : comp.lang.tcl
Date : 29. Jun 2024, 07:05:49
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5o87t$3ppap$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
Sometimes tcl feels like the UDSSR "lada" car
→ everything is perfect and nothing have to be changed.
I already mentioned that tcl needs a "pragma" to activate a incompatible extension on a
per script basis
example:
pragma add args-everywhere
On 28.06.24 20:58, Christian Gollwitzer wrote:
Am 28.06.24 um 09:23 schrieb Ralf Fassel:
* aotto1968 <aotto1968@t-online.de>
| should be
>
|     proc block {args code} {
|       ...
|     }
>
| "args" always collect as much as possible arguments
| { args code } first set the defined "code" from the "end" and
| all remaining arguments got to "args"
>
Note that the TCL 'args' works differently: it is only 'magic' if it is
the *last* entry in the argument list.
 Yes, but it would indeed be useful; hence TIP 288
https://core.tcl-lang.org/tips/doc/trunk/tip/288.md
 (unfortunately, rejected for 9.0)
      Christian

Date Sujet#  Auteur
28 Jun 24 * where is the TCL "macro" command ?6aotto1968
28 Jun 24 +* Re: where is the TCL "macro" command ?4aotto1968
28 Jun 24 i`* Re: where is the TCL "macro" command ?3Ralf Fassel
28 Jun 24 i `* Re: where is the TCL "macro" command ?2Christian Gollwitzer
29 Jun 24 i  `- Re: where is the TCL "macro" command ?1aotto1968
28 Jun 24 `- Re: where is the TCL "macro" command ?1Rich

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal