[Remind-Fans] SINCE verb
Sector11
Sector11 at fibertel.com.ar
Thu Jul 21 16:29:42 EDT 2016
Maybe a confusion with this "since":
=============
FSET fname(args) expr
Fname is the name of the function, and follows the convention
for naming variables. Args is a comma-separated list of arguments,
and expr is an expression. Args can be empty, in which case you
define afunction taking no parameters. Here are some examples:
FSET double(x) 2*x
FSET yeardiff(date1, date2) year(date1) - year(date2)
FSET since(x) ord(year(trigdate())-x)
The last function is useful in birthday reminders. For example:
REM 1 Nov +12 MSG Dean's [since(1984)] birthday is %b.
Dean was born in 1984. The above example, on 1 November 1992, would
print:
Dean's 8th birthday is today.
===============
... just a thought.
On Thu, 21 Jul 2016 15:57:58 -0400
Dianne Skoll <dfs at roaringpenguin.com> wrote:
> On Thu, 21 Jul 2016 19:55:39 +0000
> "Theodore M Rolle, Jr." <stercor at gmail.com> wrote:
>
> > I have it in more .rem files than coincidence explains.
>
> The definition I posted earlier probably is floating around the Internet.
> But it is not (and never has been) built into Remind.
>
> Regards,
>
> Dianne.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/remind-fans
> Remind is at http://www.roaringpenguin.com/products/remind
More information about the Remind-fans
mailing list