[Remind-Fans] user functions

Dianne Skoll dfs at roaringpenguin.com
Thu Jan 5 11:00:37 EST 2017


On Thu, 05 Jan 2017 10:14:10 -0500
hymie at lactose.homelinux.net wrote:

> Can a user-defined function return and process a full REM command?

No, unfortunately.  But wouldn't it be easier to just do:

REM 2017-01-11 *7 SKIP SATISFY [lesson_num('2017-01-11') <= 8] MSG E Coast / Night Club

You don't really need all those variable assignments.  Also, it's more
efficient to precompute the last date and use an UNTIL clause rather than
SATISFY.

Regards,

Dianne.


More information about the Remind-fans mailing list