home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!rutgers!psuvax1!mchen
- From: mchen@groucho.cs.psu.edu (Michael Chen)
- Newsgroups: comp.lang.tcl
- Subject: Re: variable argument procedures.
- Message-ID: <Btx6Fw.Fs3@cs.psu.edu>
- Date: 1 Sep 92 22:59:48 GMT
- References: <1992Sep1.213654.13684@osf.org>
- Sender: news@cs.psu.edu (Usenet)
- Lines: 12
- In-Reply-To: pnh@pmin24.osf.org's message of Tue, 1 Sep 1992 21:36:54 GMT
- Nntp-Posting-Host: groucho.cs.psu.edu
-
-
- Sure... try proc foo {args} { puts stdout $args }.
- Basically, whenever you put args in the parameter list, it takes the values
- in that position in beyond, makes them into a list, and sticks it in args.
-
- --- Mike
- --
- _____________________________________________________________________________
- | Michael Chen | From the depths of our most lucid horrors |
- | | spring our fond hopes and pure desires... |
- | mchen@groucho.cs.psu.edu | except what comes from HELL! :-) 7/23/92 |
- \_______________________________\___________________________________________|
-