Article View: news.software.readers
Article #53213Re: [slrn] Macro for killing an entire thread?
From: John E. Davis
Date: Mon, 18 Oct 1999 00:00
Date: Mon, 18 Oct 1999 00:00
20 lines
1604 bytes
1604 bytes
On 16 Oct 1999 15:42:59 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:
> implements ("my");
> define system (cmd)
> {
> variable
> tempfile = "/tmp/tempfile",
> retval = system (sprintf ("%s >%s", cmd, tempfile)),
This function appears to recursively call `my->system' even though the
last function call results in a call to Global->system. For clarity,
I think that it is better to explicitly specify that the last function
call is to the `system' function in the global name table:
retval = Global->system (sprintf ("%s >%s", cmd, tempfile)),
--John
Technical Details
Message-ID:
<slrn80jte6.ih1.davis@mygir.davis.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn800cjt.r4f.bubulle@mykerinos.kheops.frmug.org> <slrn80835v.l6k.bluemoon@ux6.cso.uiuc.edu> <slrn80art3.f6.bubulle@mykerinos.kheops.frmug.org> <199910161327.NAA30009@berlin.neuropa.net> <slrn80h77s.idn.bluemoon@ux6.cso.uiuc.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn80jte6.ih1.davis@mygir.davis.net> Subject: Re: [slrn] Macro for killing an entire thread? Date: Mon, 18 Oct 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn800cjt.r4f.bubulle@mykerinos.kheops.frmug.org> <slrn80835v.l6k.bluemoon@ux6.cso.uiuc.edu> <slrn80art3.f6.bubulle@mykerinos.kheops.frmug.org> <199910161327.NAA30009@berlin.neuropa.net> <slrn80h77s.idn.bluemoon@ux6.cso.uiuc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 537433958 X-Complaints-To: usenet@eecs-usenet-02.mit.edu X-Trace: eecs-usenet-02.mit.edu 940239407 2134 18.75.2.45 (18 Oct 1999 09:36:47 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.5.7 (UNIX) NNTP-Posting-Date: 18 Oct 1999 09:36:47 GMT Newsgroups: news.software.readers