"David F. Skoll" writes:
>You could simplify those lines to:
>
># Remember how many reminders have fired so far
>SET n $NumTrig

Wow.  Now that I know to look for NumTrig, it's right there in the man
page.  "Suppose you wish to shade in the box of a PostScript calendar
whenever a holiday is triggered."

>REM Mon 15 Jan SCANFROM [trigger(today()-7)] MSG Martin Luther King b'day
>OMIT [trigger(trigdate())]
>
>REM Mon 1 Sep SCANFROM [trigger(today()-7)] MSG Labor Day
>OMIT [trigger(trigdate())]
>
># Now check for shading.  It's fine to shade *today* because
># this is only relevant for calendars.
>IF $NumTrig > n
>   # At least one triggered!
>   REM SPECIAL SHADE 150
>ENDIF

Thanks.

--hymie!    http://lactose.homelinux.net/~hymie    [email protected]
_______________________________________________
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

Reply via email to