Menu ▾ ▴

#311 Improvement to #macro

open
nobody
2019-12-16
2019-12-16
No

I tried using variadac parameters on a #Macro. It worked great, thanks.

However in the body of the macro, I wanted to strip off each item in the variadac argument

macro abc(a,b...)

' process arg a, then

           abc(b)

endmacro

seems simple. But I got an error message that said recursive defines not allowed.

Please allow them, It the compiler blows up because I caused an infinite loop, that's my bad and I can live with it. Or put a huge recursive limit 32767 for instance.

Discussion


Log in to post a comment.