The C preprocessor allows nested defines. They they are used all the time in lite-C, so you can also use them in scripts.