LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Good, Donald" <[log in to unmask]>
Fri, 11 Apr 2003 14:54:31 -0500
text/plain (53 lines)
After reading the manual, I do not believe < (LESS THAN) and > (GREATER
THAN) are .BB operators.  It looks like <> is NOT EQUAL TO, an alternative
to ^=.  The two statements that you marked are probably being ignored, so
all the .SE statements are being executed with the final results 05 and May.


-----Original Message-----
From: Mariani, Michael [mailto:[log in to unmask]]
Sent: Wednesday, April 09, 2003 6:04 PM
To: [log in to unmask]
Subject: Comparing dates in boolean expressions


Hi Listologists,
I am having difficulty creating a recurring announcement header.  I want the
announcement header to read so:
Integrated Launch Update #04 (April 2003)
The underlined (dates and numbers) are dynamic variables I have declared
using the .SE and commands.  I have tried to make them dynamic via boolean
conditions (.BB & .EB) but I cannot figure out the right boolean comparisons
for dates.  This is partly due to not being able to find it in the manual
you supplied online and partly because I am dumb :).

Here is a piece of code I am having trouble with (marked where I think the
bugs are):
.SE COMPARE &DATE
.SE ISSUE error!
.BB Apr IN &COMPARE
.SE ISSUE 04
.SE MONTH April
.BB &COMPARE > 09* .... <Bug here>
.SE ISSUE 04, NF #01
.EB
.BB &COMPARE > 26* .... <Bug here>
.SE ISSUE 05
.SE MONTH May
.EB
.EB

The problem here, assuming &DATE produces "Apr 07 2003", is obviously that
it keeps dropping to the last condition of the boolean expression.  The
outcome is ISSUE always equals "05" and MONTH always equals "May", when it
is the month of April.  How can I compare dates like this to get the desired
result?

Your help is greatly appreciated!

Mike Mariani
Program Manager - MMBP
Intel Corporation
408.765.8846 wk
408.203.8358 cell

ATOM RSS1 RSS2