Now that you understand that, you could pass in two values. One is the lookup and the other is the change value (or no value). You could then have a do case structure to lookup the value.
do case
case cY == "TURN TIME"
xReturn := aMyStaticValues[hManifest_Constant_For_TURN_TIME]
case cY == "%MEDIAN"
xReturn := aMyStaticValues[hManifest_Constant_For_%MEDIAN]
end case
Yes, you can have more than one value. My last example there holds the values in an array, but you could pass in multiple parameters. That might get a bit tricky if you're not always passing all of the parameters in and out.
Let's say you have 10 sections to your handicapping program. And, you use Strength in 6 of those sections. At the top of your program, you can store the Strength value. As you go in and out and in each of the 6 sections where Strength is displayed, you can access it as an already computed value, which is faster than recomputing it every time. And, obviously you are only computing it one time, which means you are only computing it one way... which is clearly way better than the way a beginner might do it, computing in each of the 6 sections, possibly resulting in 6 different ways of calculating the value. Obviously there needs to be a function to calculate Strength.