On Mon, Feb 6, 2012 at 7:05 PM, David F. Skoll <[email protected]> wrote:
> Ok... those requirements are somewhat odd, but I'd write it like this: > > SET mydate '2012-04-20' > #SET mydate '2013-04-28' > > # Find out when mydate triggers > REM [mydate] SATISFY 1 > > # Adjust > IF $Tm > 4 || ($Tm == 4 && $Td > 23) > REM Monday [mydate] MSG First Monday after mydate > ELSE > REM [mydate] MSG Actually on mydate > ENDIF > Sorry to bother you again Dave but when I try the code above with remind -dxt, remind complains that $Tm is an undefined variable. I made the assumption that REM [mydate] SATISFY 1 defines the $Tm and $Td but i suppose I'm wrong. I'm using version 03.01.07 if that makes any difference. Rod _______________________________________________ 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
