[Remind-Fans] nested includes -- this file should only be included

hymie at lactose.homelinux.net hymie at lactose.homelinux.net
Mon May 23 13:15:24 EDT 2016


"Ian! D. Allen" writes:
>On Mon, May 23, 2016 at 12:09:15PM -0400, hymie at lactose.homelinux.net wrote:
>> Is my nesting level available to me in a variable?
>
>You don't need a multi-value nesting level, do you?

No.  It was just the most obvious thing I could think of.

>Have your main remind file set any variable non-zero and do the inclusion.
>The included file will test that variable to make sure it's non-zero.
>If you run the included file without the main, the variable won't be set.

Perfect.  Thanks.

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


More information about the Remind-fans mailing list