🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8390

Re: six trn answers

#8390
From: Wayne Davison
Date: Thu, 07 Apr 1994 23:05
15 lines
1384 bytes
According to Damien P. Neil <damien@b63519.student.cwru.edu>:
> As far as I can tell, sometimes the condition %Z=0 decides
> to evaluate to true, even if articles are selected. Why?

Because this is a regex match of '.*0.*' against the string %Z, and it
is true if %Z is 0, 10, 20, 5083, etc.  What you want to test is that
"%Z=^0", since %Z will only begin with a 0 if it == 0.  Thus the macros
should be changed to be:

  ^A^F	%(%m=t?%(%Z=^0?/\^/\:Tj^J%(%M=^0?n:n):\:M^J/\^/\:Tj^JYn):)
  ^A^A	%(%m=t?%(%Z=^0?/\^/\:Tj^J%(%M=^0?n:^):\:M^J/\^/\:Tj^JY^):)
  ^A^R	%(%m=t?%(%Z=^0?/\^/\:Tj^J%(%M=^0?n:Z):\:M^J/\^/\:Tj^JYZ):)
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <Cnww4v.6L0@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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!concert!decwrl!borland.com!davison
References: <2mm3ta$78k@engnews2.Eng.Sun.COM> <2mpv8s$ad3@engnews2.eng.sun.com> <1994Apr6.164131.1547@ousrvr.oulu.fi> <2nuqe1$53b@b63519.student.cwru.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Cnww4v.6L0@borland.com>
Subject: Re: six trn answers
Date: Thu, 7 Apr 1994 23:05:19 GMT
From: davison@borland.com (Wayne Davison)
References: <2mm3ta$78k@engnews2.Eng.Sun.COM> <2mpv8s$ad3@engnews2.eng.sun.com> <1994Apr6.164131.1547@ousrvr.oulu.fi> <2nuqe1$53b@b63519.student.cwru.edu>
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!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!concert!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 15