[Remind-Fans] SATISFY and/or setting variables in REM
Dianne Skoll
dfs at roaringpenguin.com
Tue Aug 2 10:28:16 EDT 2016
On Tue, 02 Aug 2016 10:03:07 -0400
hymie at lactose.homelinux.net wrote:
> So here's my next question. Is there a way to set a variable as the
> "action" taken by a REM statement? Because in theory [1], this kind
> of thing might work:
Nope, sorry.
Repetition is the only way for something like that, unless you do something
really horrible like:
IF evaltrig("2016-03-21 *56 UNTIL 2016-08-01 omit sat sun after") == today() || \
evaltrig("2016-09-06 *56 omit sat sun after") == today()
SET rootpasswd today()
ENDIF
evaltrig() is available as of Remind 3.1.6.
Regards,
Dianne.
More information about the Remind-fans
mailing list