I did a bit of hazy early-morning brainstorming.
You would be able to condense all of your nested #if statements if you were to
write the largest one but then be able to skip certain nest levels.
Can you use the parse thing to assemble a macro of the proper size on the fly?
Can conditionals be stored in an array? Then you might be able to switch
between #if and // nothing and #end and // nothing as needed.
Do we have some clever way to do the equivalent of:
select (flag, conditional // comment)
or
(flag ? conditional : comment)
Because that would be wicked cool.
Post a reply to this message
|