If I adopt my problem to your example, I would need something like:
ols y_FOO const log(x_FOO)
ols y_BAR x_FOO/x_BAR
ols y_BAZ x_BAZ x_BAR x_FOO
If I'm not mistaken, I can't introduce a loop or use a function here.
BTW: Many thanks for your support!
Fred