Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91772

Forum Post: RE: passing a variable into a macro

$
0
0

[quote user="Rick Crispo"]Is there a way to convert my tx_mbox variable to a literal argument before calling the macro?[/quote]

No.  Keep in mind all macro expansion occurs at compile time, long before the value of a variable like tx_mbox is evaluated at runtime.  I suggest you make MBOX an array of structures, and index it with tx_mbox.

Thanks and regards,

-George


Viewing all articles
Browse latest Browse all 91772

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>