[Remind-Fans] SPECIAL, trigdate(), and expression pasting
Dianne Skoll
dfs at roaringpenguin.com
Sun Jun 12 10:36:52 EDT 2016
On Sun, 12 Jun 2016 03:13:25 -0400
"Ian! D. Allen" <idallen at idallen.ca> wrote:
> This one-line reminder file "r" gives an error message because
> trigdate() is not set and the subtraction has mixed types:
>
> REM SPECIAL [ "COLOR 66 66 66 " + iif( (trigdate()-today()) == 0,
> "FOO", "BAR" ) ]
As per the man page:
o You cannot use expression-pasting to determine the type (MSG, CAL,
etc.) of a REM command.
In the case of a SPECIAL, the token following the SPECIAL is considered to
be part of the type specification.
Sorry.
Regards,
Dianne.
More information about the Remind-fans
mailing list