Re: where is the TCL "macro" command ?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: where is the TCL "macro" command ?
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tcl
Date : 28. Jun 2024, 17:18:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v5mno6$3dht6$2@dont-email.me>
References : 1
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
aotto1968 <aotto1968@t-online.de> wrote:
the "macro" command evaluate the code IN the Frame of the calling "proc"
arguments and "local" declared variables are local, all other variables
are always in the frame of the calling "proc"

Tcl (standard Tcl) has no "macro" capability such as you would
typically find with a LISP.

You may be looking for the "sugar" package:

https://wiki.tcl-lang.org/page/Sugar

Which is a Tcl extension to add some amount of LISP like "macro"
capability to Tcl.


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