I am writing a FoxPro program which is accessing multiple tables and updating some of their values after running values through equations. I am trying to store the result of an equation in a variable (set) as such:
b = table1.base
ser = table2.load*b
Despite not showing some of the surrounding code, this should return a positive numeric value, however it just returns 0.0. What I have noticed is that if I print this quantity,
?table2.load*b
it indeed prints the correct result. How come this correct result is not being stored in the variable ser ? Thanks for any help.