That is a very short question. Which variables: system or user variables? Using for what: to show the value, to calculate, to.... Do you want to do this with advanced/shared actions or with JS. Here are some links that could be interesting, although some are pretty old: