I'm attempting to use .blank instead of .ifnblank, so I can use it in an || expression to test if one or another macro argument is present:
It doesn't seem to like this. I've attempted to use .blank in the past unsuccessfully; not sure what I'm doing wrong. So far I've been able to work around this by using .ifnblank which works right away for me. I can just repeat code and use .ifnblank twice to simulate the || expression but it'd be nicer if I could get this to work.
Code:
.macro my_macro source, dest, rega, regb
.if (!.blank({rega}) || !.blank({regb}))
...
.if (!.blank({rega}) || !.blank({regb}))
...
It doesn't seem to like this. I've attempted to use .blank in the past unsuccessfully; not sure what I'm doing wrong. So far I've been able to work around this by using .ifnblank which works right away for me. I can just repeat code and use .ifnblank twice to simulate the || expression but it'd be nicer if I could get this to work.