[Remind-Fans] OMIT question

David F. Skoll dfs at roaringpenguin.com
Sat Oct 4 16:43:54 EDT 2008


Jorge Luis wrote:

> That constant seems to work well except in one particular statement:

> OMIT Mon Oct [Week_2] MSG %"Columbus Day%"

> REM statements that use the Week_n constants seem to work fine.  From my
> reading of the man page, it would seem that it should work in an OMIT
> statement.

You are misreading the man page. :-)

OMIT can only take one of two forms:

OMIT month day
OMIT year month day

(The parts can be in any order, and you may have an optional MSG clause.)

What you are trying to do is a "floating OMIT" and it's somewhat tricky.
For details, see the man page.  Search for the section
"DETAILS ABOUT TRIGGER COMPUTATION" and then see the example under
SCANFROM.

> I'm amazed by how complex some of the functions in the examples are.
> Can anyone recommend a good primer to the language?

Erhmmm... just the man page, alas. :-(

Regards,

David.



More information about the Remind-fans mailing list