home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / tcl / 1290 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  994 b 

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