On Sat, 11 Feb 2012 14:07:56 -0800 Brian Flaherty <[email protected]> wrote:
> I have meeting the 4th Wed. of even numbered months, except the > Dec. mtg. is moved to Jan. I did it this way: > REM SATISFY (monnum(trigdate())==1 || (monnum(trigdate())%2==0 && > monnum(trigdate())!=12)) && day(trigdate())>21 && day(trigdate())<28 [...] That works. I would have written: REM Wed 21 +2 AT 18:30 DURATION 2:30 SATISFY [$Tm == 1 || ($Tm != 12 && !($Tm %2))] MSG Special meeting %b %3 because it's more efficient. (Try both with the -dx flag to see how often Remind evaluates the SATISFY expression.) Note that you need a recent version of Remind for $Tm, which is equivalent to monnum(trigdate()) Regards, David. _______________________________________________ Remind-fans mailing list [email protected] http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans Remind is at http://www.roaringpenguin.com/products/remind
