Newbie question about scoping rules



Michel Van den Bergh <michel.vandenbergh <at> uhasselt.be> writes:


 Look this one:

s[n]:=n^2;
s:t;
t[n]:=n^3;
s[4] --> 16

 but this one:

s:t;
t[n]:=n^3;
s[4] ----> it should be s[4] ?, no it gives 64.