On Thu, 2 Mar 2023 00:50:39 +0000
Tim Chase <[email protected]> wrote:

> The only issue I've found is that if a file is included multiple
> times, OMITs with MSG portions show up multiple times.  E.g.

Yeah, that's a problem.  So I'd do OMITs without any MSG and have separate
REMs to actually output the holidays.

IMO, the small amount of redundancy caused by:

     # In holidays.rem
     OMIT 25 Dec

     # In display_holidays.rem
     REM 25 Dec MSG Christmas

is a small price to pay compared to the complexity of setting
variables, potentially breaking the Remind algorithm, etc.  It's also
fewer (way fewer) lines of code.

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to