I want to use global macro in crude and adjusted logistic regression.

webuse bpwide
generate bp = (bp_after > bp_before)
tab bp

global expVar = "sex agegrp"

foreach x of global expVar { // crude
logistic bp i.`x'
}


logistic bp bp_before i.$expVar // adjusted

As sex and agegrp are factor variables I need i. in front of these variables. But in adjusted logistic, I can only have i. in front of the first variable in the result.
I can re-do this by creating a new global macro as
global expVar = "i.sex i.agegrp"

But I do not want to have multiple macros for the same list of variables.
Nick Cox ​​​​​​Can you please help?