Newsgroups: comp.lang.dylan
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!goldenapple.srv.cs.cmu.edu!das-news2.harvard.edu!cam-news-feed3.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!vixen.cso.uiuc.edu!uchinews!news
From: Brad Dominy <joe_camel@honda.com>
Subject: Question about Mindy's system method
X-Nntp-Posting-Host: proline.bsd.uchicago.edu
Content-Type: text/plain; charset=us-ascii
Message-ID: <33454525.41C6@honda.com>
Sender: news@midway.uchicago.edu (News Administrator)
Content-Transfer-Encoding: 7bit
Organization: University of Chicago -- Academic Computing Services
Mime-Version: 1.0
Date: Fri, 4 Apr 1997 18:15:01 GMT
X-Mailer: Mozilla 3.0 (X11; I; IRIX 6.2 IP22)
Lines: 16

Hi everyone,
   I've been trying to use mindy's system() method to set a variable
with the current date. Basically, 

   let OUT = system("date");
   format(*standard-output*, "%=\n", OUT);

what this gets me is the date at the command line and then 0. So, what
this does is the date command gets executed and the result is 0, which
is what OUT is set to. Is there any way to intercept the date part? Or
is there a better way of doing this? I've thought about using the system
method to set an environment variable and then bring that in, but before
I head off on that tangent, I thought I would ask for other opinions.

Thanks,
Brad
