Article View: news.software.readers
Article #9668Re: Problems with trn macros (used to be 6 questions)
From: Bob Weissman
Date: Thu, 23 Jun 1994 16:58
Date: Thu, 23 Jun 1994 16:58
29 lines
2017 bytes
2017 bytes
In article <CrtEAv.HK3@borland.com>, Wayne Davison <davison@borland.com> wrote: - - ^A^A %(%m=t?%(%Z=^0?::M^J)/\^/\:Tj^J%(%Z%M=^00?q:Y\^):) - -%( ? : ) is the if-then-else-endif operator. Knowing this, it is possible -to break it up into indented code: - - %( %m=t ? if mode contains 't' then - %( %Z=^0 ? if selected-count starts with 0 then - <NULL-STRING> do nothing - : else - :M^J run 'M' on all selected articles - ) endif - /\^/\:Tj^J select all articles and thread-kill them - %( %Z%M=^00 ? if selected-count+returning-count == 00 then - q quit group - : else - Y\^ yank back the articles and go to top - ) endif - : else - <NULL-STRING> do nothing - ) endif Eeeyech! I gave up TECO programming a couple decades ago, but here it is again, in another form, to haunt me. This has got to be the ugliest thing I've ever seen.
Technical Details
Message-ID:
<982@eiffel.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!lll-winken.llnl.gov!apple.com!voder!procase!bobwReferences:
<2u55gs$ii2@overload.lbl.gov> <CrtEAv.HK3@borland.com>Show Full Headers
Complete Article Headers
Message-ID: <982@eiffel.UUCP> Subject: Re: Problems with trn macros (used to be 6 questions) Date: Thu, 23 Jun 1994 16:58:04 +0000 From: bobw@PROCASE.COM (Bob Weissman) References: <2u55gs$ii2@overload.lbl.gov> <CrtEAv.HK3@borland.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!ames!lll-winken.llnl.gov!apple.com!voder!procase!bobw Newsgroups: news.software.readers Reply-To: bobw@procase.com Organization: Procase Corporation, San Jose, CA, USA Lines: 30