Question: How to fold seq

ok i think they are called "nested" sequences, i will normally do something like: 

seq(seq(seq(F(i,j,k),i=1..Ri),j=1..Rj),k=1..Rk)

but in this circumstance the number of variables and the ranges for each are specified by the user in combo boxes and text windows etc, so i need to use foldl. The below doesn't work, so i was looking for a hint on what i am doing wrong:

 

 

Thanks in advance

Please Wait...