Passing config variables to functions so they behave as compile time constants

Can you look at this question?