I am using version 11.3. I want to generate some definitions doing some time consuming symbolic computations. I just changed the time-consuming part to simple ones here.
In[1]:=Clear[f];
Do[
Block[{tmp}, tmp = x + y + z + 10;
f[x, y, z] := Evaluate[Module[{tmp1}, tmp1 = tmp; tmp1^2]]],
{x, -1,1}, {y, 0, 2}, {z, 0, 2, 2}]
In[2]:= ?f
Global`f
f[-1,0,0]=81
f[-1,0,2]=121
f[-1,1,0]=100
f[-1,1,2]=144
f[-1,2,0]=121
f[-1,2,2]=169
f[0,0,0]=100
f[0,0,2]=144
f[0,1,0]=121
f[0,1,2]=169
f[0,2,0]=144
f[0,2,2]=196
f[1,0,0]=121
f[1,0,2]=169
f[1,1,0]=144
f[1,1,2]=196
f[1,2,0]=169
f[1,2,2]=225
The "=" in the output of "?f" should be ":=". If you change the range of x to "{x,-1,0}" , the answers for "?f" are using ":=". Similar for the other iteration variables y and z. Is this a bug or something?