| Author |
Message |
Ken Franklin (Kenz)
| | Posted on Tuesday, July 13, 2004 - 8:13 am: | |
original example call: (macro12 ($1 $2 $3 $4)) - all uniquely named for each macro12 call. (define Macro12 uses $1 and $2 variables directly, but calls other 'nestled' defines for $3 and $4). $3 & $4 being 'Define Names' themselves. Is this expansion idea possible in Zillions? |
Sean Duggan (Dream)
| | Posted on Friday, July 16, 2004 - 7:48 am: | |
I'm not at home, so I can't try it out, but I seem to remember that nested defines are perfectly kosher. As I understand it, macros are expanded out before being use. This is why you can't have recursive macros. This is vividly demonstrated in version 2.0 if you ask it to save the post-processed file. Have you actually tried this idea? |
|