Hello! There are two built-in local variables, the pen and point that are in the Style settings. You can create local variables within an Expression variable to calculate a single value. It sounds like that might be what you are doing.
All the other single variables that you create at the bottom of the column list are global, in that they can be used in any place you could otherwise use a number, either in an Expression column, or in formatting.
To drawn a functions you have two options (1) you can use a Function command to draw functions in the form y = f(x). This is like a built-in graphing calculator, and you can use global variables in these expressions.
Here is a file that you can get from the on-line examples (search on bessel). I modified this by adding one global variable and adding that to one of the Function commands to illustrate.
The second option (2) – You can also generate a list of x values in one expression column and then use those (along with variables as needed) to calculate your y values in a second expression column.
Does that help?