[Remind-Fans] substitution and indentation

David F. Skoll dfs at roaringpenguin.com
Fri Nov 30 08:26:04 EST 2001


On Thu, 29 Nov 2001, David T-G wrote:


> How can I increase and decrease my indentation in a programmatic manner
> that will work at any depth of inclusion

Try this:

-----------------------------
set idnt ""
#...

set odnt idnt
set idnt idnt + "  "

INCLUDE file.rem

set idnt odnt
-----------------------------


In file.rem:

REM ... MSG %[idnt]foo

The first "%" is important:  It prevents Remind from consuming white space
after the MSG.

--
David.




More information about the Remind-fans mailing list