[Remind-Fans] user functions

hymie at lactose.homelinux.net hymie at lactose.homelinux.net
Thu Jan 5 10:14:10 EST 2017


Greetings.

Long time remind user, trying to get fancy and tricky.

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

(back story -- I have this function)

FSET lesson_num(x) 1 + nonomitted(x, trigdate(), \
     "Mon","Tue","Thu","Fri","Sat","Sun")

I have this construct

SET start '2017-01-11'
SET class "E Coast / Night Club"
SET numlesson 8
rem [start] *7 skip satisfy [lesson_num(start) <= numlesson] \
    MSG [class] #[lesson_num(start)]

that I do over and over and over again with different start dates and
different class names.  Can a function do all that **and** add the
appropriate items to my calendar?

FSET class('2017-01-11',"E Coast / Night Club")

--hymie!    http://lactose.homelinux.net/~hymie    hymie at lactose.homelinux.net


More information about the Remind-fans mailing list