[Remind-Fans] OMIT syntax (was Re: A-Day / B-Day)

Tim Chase remind at tim.thechases.com
Tue Aug 27 11:04:24 EDT 2024


On 2024-08-27 10:53, Remind list wrote:
> > Testing this didn't make a difference -- both $Tw and $Uw exhibited
> > the same (desired) behavior
> 
> Yup.  If you run in debugging mode, you can see the difference:
[snip]
> So yeah, it happens to work for your specific case because it makes
> no difference if Remind thinks the reminder has expired or is just
> going to trigger on a different day from today.

Ah, okay.

> > Is there some better way I should have expressed this "OMIT the
> > range of dates, but only display the message on weekdays"?
> 
> The way you did it is fine, though I'd use $Tw rather than $Uw.

Got it.  Looking at the debug output, it looks like the $Tw might
be more efficient, so I've updated my file to use that instead.

> If you have a SATISFY clause and the expression doesn't
> somehow involve the trigger date (trigdate() or one of the $T
> variables) then it's probably wrong.

That's a helpful heursitic.  I've updated one other case where I
was using $U instead of $T in a SATISFY.  Thanks!

-tim







More information about the Remind-fans mailing list